/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'bool judge1()':
/in/foo.cc:22:14: warning: array subscript has type 'char' [-Wchar-subscripts]
 if (a[b[i][1]]!=-1 && a[b[i][2]]!=-1&& a[b[i][3]]!=-1 &&
              ^
/in/foo.cc:22:32: warning: array subscript has type 'char' [-Wchar-subscripts]
 if (a[b[i][1]]!=-1 && a[b[i][2]]!=-1&& a[b[i][3]]!=-1 &&
                                ^
/in/foo.cc:22:49: warning: array subscript has type 'char' [-Wchar-subscripts]
 if (a[b[i][1]]!=-1 && a[b[i][2]]!=-1&& a[b[i][3]]!=-1 &&
                                                 ^
/in/foo.cc:23:11: warning: array subscript has type 'char' [-Wchar-subscripts]
 (a[b[i][1]]+a[b[i][2]]) % n !=a[b[i][3]] &&
           ^
/in/foo.cc:23:22: warning: array subscript has type 'char' [-Wchar-subscripts]
 (a[b[i][1]]+a[b[i][2]]) % n !=a[b[i][3]] &&
                      ^
/in/foo.cc:23:40: warning: array subscript has type 'char' [-Wchar-subscripts]
 (a[b[i][1]]+a[b[i][2]]) % n !=a[b[i][3]] &&
                                        ^
/in/foo.cc:24:11: warning: array subscript has type 'char' [-Wchar-subscripts]
 (a[b[i][1]]+a[b[i][2]]+1) % n !=a[b[i][3]]) return 0;
           ^
/in/foo.cc:24:22: warning: array subscript has type 'char' [-Wchar-subscripts]
 (a[b[i][1]]+a[b[i][2]]+1) % n !=a[b[i][3]]) return 0;
                      ^
/in/foo.cc:24:42: warning: array subscript has type 'char' [-Wchar-subscripts]
 (a[b[i][1]]+a[b[i][2]]+1) % n !=a[b[i][3]]) return 0;
                                          ^
/in/foo.cc: In function 'bool judge2()':
/in/foo.cc:31:12: warning: array subscript has type 'char' [-Wchar-subscripts]
 k=a[b[i][1]]+a[b[i][2]]+k;
            ^
/in/foo.cc:31:23: warning: array subscript has type 'char' [-Wchar-subscripts]
 k=a[b[i][1]]+a[b[i][2]]+k;
                       ^
/in/foo.cc:32:14: warning: array subscript has type 'char' [-Wchar-subscripts]
 if (a[b[i][3]]!=k % n) return false;
              ^
/in/foo.cc: In function 'void DFS(int)':
/in/foo.cc:43:14: warning: array subscript has type 'char' [-Wchar-subscripts]
 if (a[b[1][1]]+a[b[1][2]]>=n) return ;
              ^
/in/foo.cc:43:25: warning: array subscript has type 'char' [-Wchar-subscripts]
 if (a[b[1][1]]+a[b[1][2]]>=n) return ;
                         ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:76:14: warning: array subscript has type 'char' [-Wchar-subscripts]
 if (h[b[i][j]]) {
              ^
/in/foo.cc:78:10: warning: array subscript has type 'char' [-Wchar-subscripts]
 h[b[i][j]]=0;
          ^
# 状态 耗时 内存占用
#1 Accepted 5ms 256.0 KiB
#2 Accepted 4ms 364.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 4ms 360.0 KiB
#5 Accepted 5ms 256.0 KiB
#6 Accepted 3ms 368.0 KiB
#7 Accepted 41ms 340.0 KiB
#8 Accepted 8ms 380.0 KiB
#9 Accepted 43ms 368.0 KiB
#10 Accepted 2ms 380.0 KiB

信息

递交者
类型
递交
题目
P1099 虫食算
语言
C++
递交时间
2018-04-17 12:44:30
评测时间
2018-04-17 12:44:30
评测机
分数
100
总耗时
122ms
峰值内存
384.0 KiB