/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:12: warning: array subscript is above array bounds [-Warray-bounds]
   a[3]+=a[2];
            ^
/in/foo.cc:11:7: warning: array subscript is above array bounds [-Warray-bounds]
   a[3]+=a[2];
   ~~~~^~~~~~
/in/foo.cc:15:12: warning: array subscript is above array bounds [-Warray-bounds]
   b[3]+=b[2];
            ^
/in/foo.cc:15:7: warning: array subscript is above array bounds [-Warray-bounds]
   b[3]+=b[2];
   ~~~~^~~~~~
/in/foo.cc:19:12: warning: array subscript is above array bounds [-Warray-bounds]
   c[3]+=c[2];
            ^
/in/foo.cc:19:7: warning: array subscript is above array bounds [-Warray-bounds]
   c[3]+=c[2];
   ~~~~^~~~~~
/in/foo.cc:21:8: warning: array subscript is above array bounds [-Warray-bounds]
  if(a[3]<=b[3]&&a[3]<=c[3])printf("%d",a[3]); 
     ~~~^
/in/foo.cc:21:14: warning: array subscript is above array bounds [-Warray-bounds]
  if(a[3]<=b[3]&&a[3]<=c[3])printf("%d",a[3]); 
           ~~~^
/in/foo.cc:21:26: warning: array subscript is above array bounds [-Warray-bounds]
  if(a[3]<=b[3]&&a[3]<=c[3])printf("%d",a[3]); 
                       ~~~^
/in/foo.cc:22:8: warning: array subscript is above array bounds [-Warray-bounds]
  if(b[3]<=a[3]&&b[3]<=c[3])printf("%d",b[3]);
     ~~~^
/in/foo.cc:22:14: warning: array subscript is above array bounds [-Warray-bounds]
  if(b[3]<=a[3]&&b[3]<=c[3])printf("%d",b[3]);
           ~~~^
/in/foo.cc:22:26: warning: array subscript is above array bounds [-Warray-bounds]
  if(b[3]<=a[3]&&b[3]<=c[3])printf("%d",b[3]);
                       ~~~^
/in/foo.cc:23:8: warning: array subscript is above array bounds [-Warray-bounds]
  if(c[3]<=b[3]&&c[3]<=a[3])printf("%d",c[3]);
     ~~~^
/in/foo.cc:23:14: warning: array subscript is above array bounds [-Warray-bounds]
  if(c[3]<=b[3]&&c[3]<=a[3])printf("%d",c[3]);
           ~~~^
/in/foo.cc:23:26: warning: array subscript is above array bounds [-Warray-bounds]
  if(c[3]<=b[3]&&c[3]<=a[3])printf("%d",c[3]);
                       ~~~^
# 状态 耗时 内存占用
#1 Accepted 1ms 232.0 KiB
#2 Accepted 1ms 220.0 KiB
#3 Wrong Answer 1ms 224.0 KiB
#4 Accepted 1ms 220.0 KiB
#5 Accepted 1ms 232.0 KiB
#6 Accepted 1ms 220.0 KiB
#7 Accepted 1ms 228.0 KiB
#8 Accepted 1ms 216.0 KiB
#9 Accepted 1ms 228.0 KiB
#10 Accepted 1ms 216.0 KiB
#11 Accepted 1ms 232.0 KiB
#12 Wrong Answer 1ms 220.0 KiB
#13 Accepted 1ms 224.0 KiB
#14 Wrong Answer 1ms 220.0 KiB
#15 Wrong Answer 1ms 232.0 KiB
#16 Accepted 1ms 220.0 KiB
#17 Accepted 1ms 228.0 KiB
#18 Accepted 1ms 220.0 KiB
#19 Wrong Answer 1ms 228.0 KiB
#20 Accepted 1ms 216.0 KiB

信息

递交者
类型
递交
题目
P2009 买铅笔
语言
C++
递交时间
2020-11-17 19:08:56
评测时间
2020-11-17 19:08:56
评测机
分数
75
总耗时
23ms
峰值内存
232.0 KiB