/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:49:18: warning: statement has no effect [-Wunused-value]
             for(i;i<n;i++)
                  ^
/in/foo.cc:58:24: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
             ans_b = a[s];
                        ^
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Runtime Error 1ms 204.0 KiB
#3 Accepted 1ms 212.0 KiB
#4 Runtime Error 1ms 332.0 KiB
#5 Wrong Answer 1ms 208.0 KiB
#6 Runtime Error 1ms 328.0 KiB
#7 Runtime Error 1ms 340.0 KiB
#8 Runtime Error 2ms 328.0 KiB
#9 Runtime Error 1ms 336.0 KiB
#10 Runtime Error 1ms 332.0 KiB

信息

递交者
类型
递交
题目
P1039 最小差距
语言
C++
递交时间
2019-09-24 21:33:02
评测时间
2019-09-24 21:33:02
评测机
分数
20
总耗时
15ms
峰值内存
340.0 KiB