码迷,mamicode.com
首页 >  
搜索关键字:add two numbers    ( 52886个结果
the smallest positive number
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.What is the smallest positive number that is...
分类:其他好文   时间:2014-05-08 14:36:50    阅读次数:248
zoj 1608 Two Circles and a Rectangle 判断两个圆是否能放入一个矩形中
题目来源:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=608分析:两个圆放到矩形的临界点图为:其中a为长, b为宽, r1 > r2红色三角形的三边长分别为:x = a - (r1 +r2)y = b - (r1 + r2)z...
分类:其他好文   时间:2014-05-08 14:17:58    阅读次数:377
MFC对话框
创建对话框步骤: 第一,创建对话框资源,主要包括创建新的对话框模板、设置对话框属性和为对话框添加各种控件; 第二,生成对话框类,主要包括新建对话框类、添加控件变量和控件的消息处理函数等。 创建对话框类 Add Class… 添加成员变量 Add Variable,类的成员变量名一般以m_打头。 控件...
分类:其他好文   时间:2014-05-08 13:04:03    阅读次数:421
viewFlipper动态加载
同一时间内,只有2个view,index分别为0和1删掉一个后加入一个,保持动态更新if (viewFlipper.getChildCount() > 1) { viewFlipper.removeViewAt(0); } viewFlipper.add...
分类:其他好文   时间:2014-05-08 12:07:45    阅读次数:298
10 001st prime number
这真是一个耗CPU的运算,怪不得现在因式分解和素数查找现在都用于加密运算。By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.What is the 1...
分类:其他好文   时间:2014-05-08 11:54:49    阅读次数:260
sql语句添加删除外键
--删除外键alter table HelpTextInfo drop constraint HelpTextInfo_Helptype_FK1--增加外键alter table HelpTextInfo add constraint HelpTextInfo_Helptype_FK1 fore.....
分类:数据库   时间:2014-05-08 11:47:17    阅读次数:344
Pat(Advanced Level)Practice--1060(Are They Equal)
Pat1060代码 题目描述: If a machine can save only 3 significant digits, the float numbers 12300 and 12358.9 are considered equal since they are both saved as 0.123*105 with simple chopping. Now given...
分类:其他好文   时间:2014-05-08 02:07:49    阅读次数:452
POJ2406Power Strings
来源:http://poj.org/problem?id=2406  Power Strings Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 30293   Accepted: 12631 Description Given two strin...
分类:其他好文   时间:2014-05-08 02:03:40    阅读次数:337
POJ 1724 ROADS
点击打开链接 ROADS Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 10202   Accepted: 3786 Description N cities named with numbers 1 ... N are connected with o...
分类:其他好文   时间:2014-05-07 23:42:01    阅读次数:617
Iptables用法
[root@localhost~]#iptables-F#清除默认表filter中所有链的规则 [root@localhost~]#iptables-X#清除自定义链的规则 [root@localhost~]#iptables-L-nv--line-numbers#编号显示链规则 [root@localhost~]#iptables-N#新建一条自定义的链 [root@localhost~]#iptables-AINPUT-ieth0#..
分类:其他好文   时间:2014-05-07 22:32:21    阅读次数:466
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!