1 #include 2 #include 3 using namespace std; 4 int main(){ 5 string s; 6 int n; 7 getline(cin,s); 8 cin>>n; 9 while(n--)10 ...
分类:
其他好文 时间:
2014-07-07 12:44:52
阅读次数:
170
function NewDate(dateTime) { var fulldate = dateTime.split('-'); var day = fulldate[2].split(" "); var time = day[1]....
分类:
编程语言 时间:
2014-07-07 12:43:39
阅读次数:
701
1、编译库https://bitbucket.org/multicoreware/x265/src/tip/build/README.txt?at=default2、x265 Documentation :http://x265.readthedocs.org/en/default/
分类:
其他好文 时间:
2014-07-02 17:28:28
阅读次数:
158
ApacheJavaTomcatMyeclipse自己前一段时间出现了这个问题,通过在网上搜索,大概知道了原因,整理下一,以供大家参考。将项目部署好后,启动tomcat后报错,java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFac...
分类:
编程语言 时间:
2014-07-02 17:23:14
阅读次数:
190
1 #include 2 #include 3 using namespace std; 4 int main(){ 5 string s1, s2; 6 getline(cin, s1); 7 getline(cin, s2); 8 while(s1.find(s...
分类:
其他好文 时间:
2014-07-02 17:17:29
阅读次数:
281
1.
WindowProc是你给自己的窗口定义的窗口处理函数
DefWindowProc是windows平台提供的默认窗口处理函数
如果某些消息你不需要做特别的处理,调用DefWindowProc进行处理就可以了,不需要你自己再去些那些windows的"标准动作"
2.
根据1,显然,你只能定义WindowProc而不能定义DefWindowProc
看看MFC的CWnd源码就...
近期业界的重磅消息很多,其中一个重磅消息是快播因盗版被罚2.6亿,2.6亿的罚款对快播这样的小型互联网企业无疑是个天文数字。虽然快播方面仍有申诉的权利,但这项案例却完全暴露了盗版背后巨大的风险------一旦遭遇版权清算,其后果不堪设想。
无独有偶,6月27日,北京市海淀法院判决,小米盒子侵犯乐视《金陵十三钗》、《我是特种兵》等7部影视作品的信息网络传播权,向乐视网赔偿1...
分类:
移动开发 时间:
2014-07-02 16:25:09
阅读次数:
186
ShareSDK for iOS v2.9.0已经发布,本次更新内容包括:
1、修复Facebook获取用户信息报错问题
2、修复Instagram在iPad上显示分享菜单错误问题,需要指定菜单容器。
3、修复人人网分享不能在手机客户端显示问题。
4、增加明道、Line、WhatsApp平台分享。
5、修复iPhone越狱设备安装handyPhone插件时崩溃问题。
新版本SD...
分类:
移动开发 时间:
2014-07-02 16:19:56
阅读次数:
362
一.DHCP所需软件包dhcp-common-4.1.1-34.Pl.el6.centos.x86_64dhcp-4.1.1-34.pl.el6.centon.x86_64二.编辑主配置文件vi/etc/dhcp/dhcpd.conf
ddns-update-styleinterim;
ignoreclient-updates;
shared-networkifs{
optiondomain-name"ifs.com";
optiondomain-name-servers192.1..
分类:
系统相关 时间:
2014-07-02 15:36:32
阅读次数:
276
题目链接:uva 10127 - Ones
题目大意:给出n,问说者少要多少为1才可以整除n。
解题思路:等于是高精度取模,直到余数为0为止。
#include
#include
int main () {
int n;
while (scanf("%d", &n) == 1) {
int ans = 1, c = 1;
whil...
分类:
其他好文 时间:
2014-07-02 15:16:16
阅读次数:
210