记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:2:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
 #define num(x) ((x%4==0 && x%100!=0 || x%400==0)?366:365)
                         ^
/in/foo.cc:7:23: note: in expansion of macro 'num'
     for (int i=1901,o=num(i); --n; i++,o=num(i))
                       ^~~
# 状态 耗时 内存占用
#1 Accepted 4ms 364.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 3ms 344.0 KiB
#6 Accepted 3ms 372.0 KiB
#7 Accepted 3ms 256.0 KiB
#8 Accepted 3ms 256.0 KiB

信息

递交者
类型
递交
题目
[USACO1.1]Friday the Thirteenth
语言
C++
递交时间
2017-04-19 07:06:32
评测时间
2017-04-19 07:06:32
评测机
分数
100
总耗时
30ms
峰值内存
372.0 KiB