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.使用CTime类 CString str; //获取系统时间 CTime tm;
tm=CTime::GetCurrentTime(); str=tm.Format("现在时间是%Y年%m月%d日 %X
%H:%M:%S");MessageBox(str,NULL,MB_OK);%a...
分类:
其他好文 时间:
2014-06-10 19:46:24
阅读次数:
337
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
题目
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: 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
/*
* Created by SharpDevelop.
* User: Administrator
* Date: 2013/11/18
* Time: 20:55
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using Sy...
分类:
其他好文 时间:
2014-06-10 11:19:19
阅读次数:
1209