B - I Hate It
Time Limit:3000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。
这让很多学生很反感。
不管你喜不喜欢,...
分类:
其他好文 时间:
2015-07-23 00:42:21
阅读次数:
156
#include
#include
using namespace std;
char s[10];
int main()
{
int a,b;
while(scanf("%d%d",&a,&b)==2)
{
memset(s,0,sizeof(s));
a=a+b;
if(a==0)
{
...
分类:
其他好文 时间:
2015-07-22 23:05:06
阅读次数:
253
Date类型大多数时间分量计算方法已经被Calendar取代
Date常用方法setTime getTime()
new Date();默认获取当前的时间SimpleDateFormat用来格式化和解析日期的具体类
匹配日期的字符串
y–>年
M–>月
d–>日
E–>星期
a–>上下午
H–>小时(24小时制)
h–>小时(12小时制)
m–>分
s–>秒格式化Date返回...
分类:
编程语言 时间:
2015-07-22 22:53:15
阅读次数:
277
0 or 1Time Limit: 2000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:437064-bit integer IO format:%I64d Java class name:MainGiv...
分类:
其他好文 时间:
2015-07-22 22:37:21
阅读次数:
128
HDU1372:Knight Moves(BFS)Time Limit:3000MSMemory Limit:0KB64bit IO Format:%lld & %lluDescriptionA friend of you is doing research ...
分类:
其他好文 时间:
2015-07-22 22:15:26
阅读次数:
91
Soldier and Number GameTime Limit:3000MSMemory Limit:262144KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeCodeForces 546DDescriptionTwo soldiers a...
分类:
其他好文 时间:
2015-07-22 22:07:20
阅读次数:
107
I - The Pilots Brothers' refrigerator
Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
The game “The Pilots Brothers: followin...
分类:
其他好文 时间:
2015-07-22 20:56:11
阅读次数:
123
G - Asteroids!
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
You're in space.
You want to get home.
There are asteroids.
...
分类:
其他好文 时间:
2015-07-22 20:53:11
阅读次数:
108
String painterTime Limit: 2000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:247664-bit integer IO format:%I64d Java class name...
分类:
其他好文 时间:
2015-07-22 20:31:21
阅读次数:
93
public static int dayForWeek(String pTime) throws Exception { SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); Calendar c = Calendar.ge.....
分类:
其他好文 时间:
2015-07-22 20:14:27
阅读次数:
142