/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int find(int)':
/in/foo.cc:9:8: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
   mid=l+r>>1;
       ~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:8: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
    g[i]=find(a[i]);
    ~~~~^~~~~~~~~~~
/in/foo.cc:21:8: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
    f[i]=find(a[i]);
    ~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 4ms 384.0 KiB
#2 Accepted 4ms 264.0 KiB
#3 Accepted 4ms 372.0 KiB
#4 Accepted 4ms 344.0 KiB
#5 Wrong Answer 3ms 256.0 KiB
#6 Wrong Answer 3ms 256.0 KiB
#7 Wrong Answer 3ms 364.0 KiB
#8 Wrong Answer 3ms 348.0 KiB
#9 Wrong Answer 3ms 356.0 KiB
#10 Wrong Answer 3ms 344.0 KiB

信息

递交者
类型
递交
题目
P1098 合唱队形
语言
C++
递交时间
2017-10-30 14:20:27
评测时间
2017-10-30 14:20:27
评测机
分数
30
总耗时
40ms
峰值内存
384.0 KiB