/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:7: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
    ans+=a[i]-1;
    ~~~^~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 220.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 232.0 KiB
#4 Wrong Answer 1ms 220.0 KiB
#5 Wrong Answer 2ms 228.0 KiB
#6 Wrong Answer 4ms 216.0 KiB
#7 Runtime Error 17ms 304.0 KiB
#8 Runtime Error 39ms 596.0 KiB
#9 Runtime Error 17ms 220.0 KiB
#10 Runtime Error 32ms 476.0 KiB

信息

递交者
类型
递交
题目
P1245 座位的争执
语言
C++
递交时间
2020-03-28 13:52:15
评测时间
2020-03-28 13:52:15
评测机
分数
20
总耗时
121ms
峰值内存
596.0 KiB