记录详情

Accepted

/in/foo.cc: In function 'bool isSidesReliable(int)':
/in/foo.cc:14:29: warning: array subscript has type 'char' [-Wchar-subscripts]
         if (pos[matrix[i][1]] != -1 && pos[matrix[i][2]] != -1 && pos[matrix[i][3]] != -1 &&
                             ^
/in/foo.cc:14:56: warning: array subscript has type 'char' [-Wchar-subscripts]
         if (pos[matrix[i][1]] != -1 && pos[matrix[i][2]] != -1 && pos[matrix[i][3]] != -1 &&
                                                        ^
/in/foo.cc:14:83: warning: array subscript has type 'char' [-Wchar-subscripts]
         if (pos[matrix[i][1]] != -1 && pos[matrix[i][2]] != -1 && pos[matrix[i][3]] != -1 &&
                                                                                   ^
/in/foo.cc:15:29: warning: array subscript has type 'char' [-Wchar-subscripts]
            (pos[matrix[i][1]] + pos[matrix[i][2]]) % n != pos[matrix[i][3]] &&
                             ^
/in/foo.cc:15:49: warning: array subscript has type 'char' [-Wchar-subscripts]
            (pos[matrix[i][1]] + pos[matrix[i][2]]) % n != pos[matrix[i][3]] &&
                                                 ^
/in/foo.cc:15:75: warning: array subscript has type 'char' [-Wchar-subscripts]
            (pos[matrix[i][1]] + pos[matrix[i][2]]) % n != pos[matrix[i][3]] &&
                                                                           ^
/in/foo.cc:16:29: warning: array subscript has type 'char' [-Wchar-subscripts]
            (pos[matrix[i][1]] + pos[matrix[i][2]] + 1) % n != pos[matrix[i][3]])
                             ^
/in/foo.cc:16:49: warning: array subscript has type 'char' [-Wchar-subscripts]
            (pos[matrix[i][1]] + pos[matrix[i][2]] + 1) % n != pos[matrix[i][3]])
                                                 ^
/in/foo.cc:16:79: warning: array subscript has type 'char' [-Wchar-subscripts]
            (pos[matrix[i][1]] + pos[matrix[i][2]] + 1) % n != pos[matrix[i][3]])
                                                                               ^
/in/foo.cc: In function 'bool isWeightReliable(int)':
/in/foo.cc:24:30: warning: array subscript has type 'char' [-Wchar-subscripts]
         k += pos[matrix[i][1]] + pos[matrix[i][2]];
                              ^
/in/foo.cc:24:50: warning: array subscript has type 'char' [-Wchar-subscripts]
         k += pos[matrix[i][1]] + pos[matrix[i][2]];
                                                  ^
/in/foo.cc:25:29: warning: array subscript has type 'char' [-Wchar-subscripts]
         if (pos[matrix[i][3]] != k % n)
                             ^
/in/foo.cc: In function 'void depthFirstSearch(int, int)':
/in/foo.cc:35:25: warning: array subscript has type 'char' [-Wchar-subscripts]
     if (pos[matrix[1][1]] + pos[matrix[1][2]] >= n)
                         ^
/in/foo.cc:35:45: warning: array subscript has type 'char' [-Wchar-subscripts]
     if (pos[matrix[1][1]] + pos[matrix[1][2]] >= n)
                                             ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:71:37: warning: array subscript has type 'char' [-Wchar-subscripts]
             if (tempVis[matrix[i][j]]) {
                                     ^
/in/foo.cc:73:37: warning: array subscript has type 'char' [-Wchar-subscripts]
                 tempVis[matrix[i][j]] = 0;
                                     ^
# 状态 耗时 内存占用
#1 Accepted 1ms 192.0 KiB
#2 Accepted 1ms 212.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Accepted 1ms 208.0 KiB
#5 Accepted 2ms 204.0 KiB
#6 Accepted 1ms 212.0 KiB
#7 Accepted 19ms 312.0 KiB
#8 Accepted 3ms 204.0 KiB
#9 Accepted 38ms 312.0 KiB
#10 Accepted 1ms 192.0 KiB

信息

递交者
类型
递交
题目
P1129 虫食算
比赛
南京师范大学算法竞赛之2020年寒假战“疫”系列赛Round2 总第72期赛
语言
C++
递交时间
2020-02-11 15:27:28
评测时间
2020-02-11 15:27:28
评测机
分数
100
总耗时
73ms
峰值内存
312.0 KiB