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
免费馅饼
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
connect():不需要bind,内核会自动加源地址和随机端口,connect会发送3次握手,只有在成功连接或者出错的情况才返回。出错的情况有3种:1.收不到syn确认包,会超时重发,总共75秒后time
out2.收到不可达包,会重发,等一段时间后no route to host3.服务器没有监...
分类:
其他好文 时间:
2014-06-10 12:41:36
阅读次数:
240
/*
* 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
救基友记3
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
话说CZ由于不守基道,被妖怪抓走了,好基友WP在努力讨好高富帅RQ救出CZ的同时,CZ也意识到了自己的错误,然后努力的想逃出妖怪的闺房。
妖怪的闺房是一个n*m的矩阵,并且某些地方安装了带锁的门,钥匙藏在闺房另外的...
分类:
其他好文 时间:
2014-06-10 11:17:21
阅读次数:
187