记录详情

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;
     ~~~~~~~^~~
/in/foo.cc:46:23: warning: 'max_ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   cout<<min_ans<<" "<<max_ans<<endl;
                       ^~~~~~~
/in/foo.cc:46:18: warning: 'min_ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   cout<<min_ans<<" "<<max_ans<<endl;
                  ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 364.0 KiB
#2 Wrong Answer 3ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Wrong Answer 1ms 256.0 KiB
#6 Wrong Answer 3ms 340.0 KiB
#7 Wrong Answer 3ms 256.0 KiB
#8 Wrong Answer 3ms 384.0 KiB
#9 Accepted 2ms 344.0 KiB
#10 Wrong Answer 1ms 332.0 KiB

信息

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