记录详情

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 Accepted 3ms 364.0 KiB
#2 Accepted 4ms 256.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 4ms 356.0 KiB
#5 Wrong Answer 1ms 384.0 KiB
#6 Wrong Answer 3ms 256.0 KiB
#7 Accepted 3ms 256.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 2ms 256.0 KiB
#10 Accepted 2ms 356.0 KiB

信息

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