/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:48:28: warning: integer overflow in expression [-Woverflow]
             int ans=(1<<31)-1;
                     ~~~~~~~^~
foo.cc:41:22: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 b = b*10+arr[i];
                     ~^~~
foo.cc:37:22: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 a = a*10 + arr[i];
                     ~^~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Bus error 1ms 384.0 KiB
#2 Wrong Answer Read 4509, expect 509. 1ms 384.0 KiB
#3 Wrong Answer Read 8517, expect 217. 1ms 384.0 KiB
#4 Runtime Error Bus error 1ms 384.0 KiB
#5 Runtime Error Bus error 1ms 384.0 KiB
#6 Runtime Error Bus error 1ms 384.0 KiB
#7 Runtime Error Bus error 1ms 384.0 KiB
#8 Runtime Error Bus error 1ms 412.0 KiB
#9 Runtime Error Bus error 1ms 384.0 KiB
#10 Runtime Error Bus error 1ms 428.0 KiB

信息

递交者
类型
递交
题目
P1039 最小差距
语言
C++
递交时间
2021-11-23 05:35:29
评测时间
2021-11-23 05:35:29
评测机
分数
0
总耗时
17ms
峰值内存
428.0 KiB