/ CWOI /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:24: warning: array subscript is below array bounds [-Warray-bounds]
   a[n-1]=abs(a[n]-a[n-1]);
                   ~~~~~^
/in/foo.cc:16:8: warning: array subscript is below array bounds [-Warray-bounds]
   a[n-1]=abs(a[n]-a[n-1]);
   ~~~~~^
/in/foo.cc:18:7: warning: array subscript is below array bounds [-Warray-bounds]
   sort(a,a+n);
   ~~~~^~~~~~~
/in/foo.cc:18:7: warning: array subscript is below array bounds [-Warray-bounds]
/in/foo.cc:18:7: warning: array subscript is below array bounds [-Warray-bounds]
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 256.0 KiB
#2 Wrong Answer 3ms 256.0 KiB
#3 Wrong Answer 3ms 256.0 KiB
#4 Wrong Answer 3ms 256.0 KiB
#5 Wrong Answer 3ms 348.0 KiB
#6 Wrong Answer 3ms 492.0 KiB
#7 Wrong Answer 2ms 256.0 KiB
#8 Wrong Answer 2ms 344.0 KiB
#9 Wrong Answer 2ms 380.0 KiB
#10 Accepted 1ms 348.0 KiB

信息

递交者
类型
递交
题目
2017.07.01 P4 正整数分组
语言
C++
递交时间
2017-07-01 20:31:24
评测时间
2017-07-01 20:31:24
评测机
分数
10
总耗时
27ms
峰值内存
492.0 KiB