上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 79 下一页
摘要: 问题 G: a interesting game时间限制:1 Sec内存限制:128 MB提交:29解决:10[提交][状态][讨论版]题目描述Oneday,Kidisinclass.ButKidthinkwhattheteacherteachingissoboring,sohedecidetopl... 阅读全文
posted @ 2015-01-31 15:39 雪溯 阅读(215) 评论(0) 推荐(0) 编辑
摘要: Challenge of WisdomTime Limit:2 Seconds Memory Limit:32768 KBBackground"Then, I want to know whether you're a wise boy!"Problem"I have a great deal of... 阅读全文
posted @ 2015-01-31 10:27 雪溯 阅读(495) 评论(0) 推荐(0) 编辑
摘要: 5152. Brute-force Algorithm EXTREMEProblem code: BFALGPlease clickhereto download a PDF version of the contest problems. The problem is problem B in t... 阅读全文
posted @ 2015-01-30 09:49 雪溯 阅读(220) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include using namespace std;class insertSort{public: insertSort(int * a,int size){ th... 阅读全文
posted @ 2015-01-23 09:43 雪溯 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 7.1 int[][] triArray{ {1}, {1,2}, {1,2,3},};7.2 array[2].length8.1 Unified Modeling Language:UMLUML class diagramCircle_____________radius:double_____... 阅读全文
posted @ 2015-01-20 14:28 雪溯 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 第六章 一维数组1数组初始化语法 array initializer2for each loop3off-by-one error 通常是在循环中该使用<的地方使用了<=4复制数组:1.for 2.System.arraycopy 3.clone5arraycopy(sourceArray, src... 阅读全文
posted @ 2015-01-08 01:36 雪溯 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 1.method header: modifier, return value type, method signature(method name, parameter)method body2.value-returning methodvoid methodmethod overloading... 阅读全文
posted @ 2014-12-29 20:21 雪溯 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 1 think before codingcode incrementally2sentinel valuesentinel-controlled loop3 输入输出重定向 > = 1;i--){ sum += 1d/i; }System.out.println(sum);//11.3970039... 阅读全文
posted @ 2014-12-27 12:28 雪溯 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 1单向if语句双向if语句dangling elseswitch:char,byte,short,int2javax.swing.JOptionPane.showConfirmDialog(null,text);返回值:JOptionPane.YES_OPTION:0JOptionPane.NO_O... 阅读全文
posted @ 2014-12-26 01:07 雪溯 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 1原始数据类型(primitive data type) == 基本类型 (fundamental type)byte short int long float double char boolean引用类型 reference type2System.in System.outjava.util.... 阅读全文
posted @ 2014-12-24 09:20 雪溯 阅读(309) 评论(0) 推荐(0) 编辑
上一页 1 ··· 59 60 61 62 63 64 65 66 67 ··· 79 下一页