1061: 从三个数中找出最大的数Time Limit:1 SecMemory Limit:128
MBSubmit:154Solved:124[Submit][Status][Web
Board]Description定义一个带参的宏(或者模板函数),从三个数中找出最大的数。Input3个短整型数...
分类:
其他好文 时间:
2014-06-10 20:52:33
阅读次数:
214
1064: 输入三个字符串,按由小到大的顺序输出Time Limit:1 SecMemory
Limit:128 MBSubmit:471Solved:188[Submit][Status][Web
Board]Description输入三个字符串,按由小到大的顺序输出。分别使用指针和引用方式实现两...
分类:
其他好文 时间:
2014-06-10 20:45:15
阅读次数:
250
1059: 判别该年份是否闰年Time Limit:1 SecMemory Limit:128
MBSubmit:222Solved:139[Submit][Status][Web
Board]Description给年份year,定义一个宏,以判别该年份是否闰年。提示:宏名可以定义为LEAP_YE...
分类:
其他好文 时间:
2014-06-10 20:34:26
阅读次数:
288
Unlike other promotional products, custom,
these bags are? U? A useful tool for advertising because the ads joke Wielen
fill the chest. If you want yo...
分类:
其他好文 时间:
2014-06-10 20:12:34
阅读次数:
298
1,普通函数定义及使用 func
myFunction(message:String="message",repeat:Int = 1){//可以设置函数默认参数值(very nice)
println("text is \(message) time is :\(repeat)") }...
分类:
其他好文 时间:
2014-06-10 19:32:10
阅读次数:
202
补上作业,MariaDB10和MySQL5.6社区版压力测试,见下图:sysbench(10.8.8.43)MySQL5.6和MariaDB10.0.11(10.8.8.100)压力测试参数:sysbench--test=oltp--mysql-table-engine=innodb
--oltp-table-size=10000000--max-requests=0--max-time=900
--num-threads=512--mysql-ho..
分类:
数据库 时间:
2014-06-10 18:52:48
阅读次数:
384
题目
A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).
The robot can only move either down or right at any point in time. The robot is trying t...
分类:
其他好文 时间:
2014-06-10 18:43:37
阅读次数:
254
数塔
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 20786 Accepted Submission(s): 12486
Problem Description
在讲述DP算法的时候,一个经典的例子就是数...
分类:
其他好文 时间:
2014-06-10 18:03:42
阅读次数:
272
免费馅饼
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 24440 Accepted Submission(s): 8264
Problem Description
都说天上不会掉馅饼,但有一天gamebo...
分类:
其他好文 时间:
2014-06-10 18:03:05
阅读次数:
184
The most strait forward approach is calculating
all the possible areas and keep the max one as the result. This approach needs
O(n*n) time complexity,...
分类:
其他好文 时间:
2014-06-10 16:11:31
阅读次数:
184