记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:19:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if(a[i]>=400&a[i]<=799)
       ~~~~^~~~~
/in/foo.cc:21:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if(a[i]>=800&a[i]<=1199)
       ~~~~^~~~~
/in/foo.cc:23:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if(a[i]>=1200&a[i]<=1599)
       ~~~~^~~~~~
/in/foo.cc:25:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if(a[i]>=1600&a[i]<=1999)
       ~~~~^~~~~~
/in/foo.cc:27:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if(a[i]>=2000&a[i]<=2399)
       ~~~~^~~~~~
/in/foo.cc:29:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if(a[i]>=2400&a[i]<=2799)
       ~~~~^~~~~~
/in/foo.cc:31:11: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
    if(a[i]>=2800&a[i]<=3199)
       ~~~~^~~~~~
/in/foo.cc:42:12: warning: statement has no effect [-Wunused-value]
     min_ans==1;
     ~~~~~~~^~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 356.0 KiB
#2 Wrong Answer 3ms 256.0 KiB
#3 Wrong Answer 3ms 320.0 KiB
#4 Wrong Answer 3ms 348.0 KiB
#5 Wrong Answer 2ms 256.0 KiB
#6 Wrong Answer 3ms 384.0 KiB
#7 Wrong Answer 1ms 364.0 KiB
#8 Wrong Answer 1ms 256.0 KiB
#9 Wrong Answer 1ms 376.0 KiB
#10 Wrong Answer 2ms 344.0 KiB

信息

递交者
类型
递交
题目
Rank
语言
C++
递交时间
2017-08-25 20:45:14
评测时间
2017-08-25 20:45:14
评测机
分数
0
总耗时
26ms
峰值内存
384.0 KiB