/ CWOI /

记录详情

Wrong Answer

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

信息

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