记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:21: warning: array subscript is above array bounds [-Warray-bounds]
             a[a[x][3]][2]=i; a[i][2]=x;
               ~~~~~~^
/in/foo.cc:19:27: warning: array subscript is above array bounds [-Warray-bounds]
             a[i][3]=a[x][3]; a[x][3]=i;
                     ~~~~~~^
/in/foo.cc:19:19: warning: array subscript is above array bounds [-Warray-bounds]
             a[i][3]=a[x][3]; a[x][3]=i;
             ~~~~~~^
/in/foo.cc:19:36: warning: array subscript is above array bounds [-Warray-bounds]
             a[i][3]=a[x][3]; a[x][3]=i;
                              ~~~~~~^
/in/foo.cc:26:42: warning: array subscript is above array bounds [-Warray-bounds]
             a[i][2]=a[x][2]; a[a[x][2]][3]=i;
                              ~~~~~~~~~~~~^
/in/foo.cc:27:30: warning: array subscript is above array bounds [-Warray-bounds]
             a[x][2]=i; a[i][3]=x;
                        ~~~~~~^
/in/foo.cc:39:21: warning: array subscript is above array bounds [-Warray-bounds]
             a[a[x][3]][2]=a[x][2];
               ~~~~~~^
/in/foo.cc:40:33: warning: array subscript is above array bounds [-Warray-bounds]
             a[a[x][2]][3]=a[x][3];
                           ~~~~~~^
/in/foo.cc:40:25: warning: array subscript is above array bounds [-Warray-bounds]
             a[a[x][2]][3]=a[x][3];
             ~~~~~~~~~~~~^
/in/foo.cc:42:30: warning: array subscript is above array bounds [-Warray-bounds]
             if(x==j) j=a[x][3];
                        ~~~~~~^
# 状态 耗时 内存占用
#1 Accepted 2ms 1.32 MiB
#2 Accepted 2ms 1.328 MiB
#3 Accepted 42ms 1.438 MiB
#4 Accepted 33ms 1.434 MiB
#5 Accepted 32ms 1.438 MiB

信息

递交者
类型
递交
题目
题4 队列安排
题目数据
下载
语言
C++
递交时间
2019-11-14 20:50:53
评测时间
2019-11-14 20:50:53
评测机
分数
50
总耗时
113ms
峰值内存
1.438 MiB