/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:11: warning: array subscript is above array bounds [-Warray-bounds]
    a1[z][2]=1;
    ~~~~~~~^
/in/foo.cc:25:14: warning: array subscript is above array bounds [-Warray-bounds]
    a1[z-1][2]+=1;
    ~~~~~~~~~~^~~
/in/foo.cc:25:14: warning: array subscript is above array bounds [-Warray-bounds]
/in/foo.cc:31:13: warning: array subscript is above array bounds [-Warray-bounds]
   if(a1[i][2]!=0)
      ~~~~~~~^
/in/foo.cc:33:32: warning: array subscript is above array bounds [-Warray-bounds]
    cout<<a1[i][1]<<" "<<a1[i][2]<<endl;
                                ^
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 328.0 KiB
#2 Wrong Answer 2ms 324.0 KiB
#3 Wrong Answer 2ms 332.0 KiB
#4 Wrong Answer 1ms 324.0 KiB
#5 Wrong Answer 1ms 328.0 KiB
#6 Wrong Answer 1ms 332.0 KiB
#7 Wrong Answer 1ms 328.0 KiB
#8 Wrong Answer 1ms 324.0 KiB
#9 Wrong Answer 1ms 464.0 KiB
#10 Wrong Answer 1ms 320.0 KiB

信息

递交者
类型
递交
题目
P1784 数字统计
语言
C++
递交时间
2017-10-28 10:22:43
评测时间
2017-10-28 10:22:43
评测机
分数
0
总耗时
20ms
峰值内存
464.0 KiB