记录详情

Wrong Answer

/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))
                       ^~~
/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:42: note: in expansion of macro 'num'
     for (int i=1901,o=num(i); --n; i++,o=num(i))
                                          ^~~
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Wrong Answer 3ms 328.0 KiB
#3 Wrong Answer 3ms 212.0 KiB
#4 Wrong Answer 3ms 256.0 KiB
#5 Wrong Answer 3ms 256.0 KiB
#6 Wrong Answer 3ms 384.0 KiB
#7 Wrong Answer 4ms 256.0 KiB
#8 Wrong Answer 3ms 308.0 KiB

信息

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