/ Vijos /

记录详情

Time Exceeded

/in/foo.cc:9:9: warning: #pragma once in main file
 #pragma once
         ^~~~
/in/foo.cc: In function 'bool check()':
/in/foo.cc:26:25: warning: array subscript has type 'char' [-Wchar-subscripts]
   int &c0 = to[str[0][i]],&c1 = to[str[1][i]],&c2 = to[str[2][i]];
                         ^
/in/foo.cc:26:45: warning: array subscript has type 'char' [-Wchar-subscripts]
   int &c0 = to[str[0][i]],&c1 = to[str[1][i]],&c2 = to[str[2][i]];
                                             ^
/in/foo.cc:26:65: warning: array subscript has type 'char' [-Wchar-subscripts]
   int &c0 = to[str[0][i]],&c1 = to[str[1][i]],&c2 = to[str[2][i]];
                                                                 ^
/in/foo.cc: In function 'int calc()':
/in/foo.cc:42:26: warning: array subscript has type 'char' [-Wchar-subscripts]
   op1 = (k + to[str[0][i]] + to[str[1][i]]);
                          ^
/in/foo.cc:42:42: warning: array subscript has type 'char' [-Wchar-subscripts]
   op1 = (k + to[str[0][i]] + to[str[1][i]]);
                                          ^
/in/foo.cc:44:29: warning: array subscript has type 'char' [-Wchar-subscripts]
   if(op1 % n != to[str[2][i]])
                             ^
/in/foo.cc:39:6: warning: unused variable 'sum' [-Wunused-variable]
  int sum = 0,k = 0,op1;
      ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:79:17: warning: array subscript has type 'char' [-Wchar-subscripts]
    cnt[str[i][j]]++;
                 ^
/in/foo.cc:83:20: warning: array subscript has type 'char' [-Wchar-subscripts]
    if(pos[str[i][j]] == -1)
                    ^
/in/foo.cc:84:18: warning: array subscript has type 'char' [-Wchar-subscripts]
     pos[str[i][j]] = j;
                  ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥1002ms ≥220.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 1ms 220.0 KiB
#4 Accepted 3ms 220.0 KiB
#5 Accepted 59ms 216.0 KiB
#6 Time Exceeded ≥1002ms ≥220.0 KiB
#7 Time Exceeded ≥1002ms ≥212.0 KiB
#8 Time Exceeded ≥1002ms ≥220.0 KiB
#9 Time Exceeded ≥1000ms ≥216.0 KiB
#10 Time Exceeded ≥1005ms ≥216.0 KiB

信息

递交者
类型
递交
题目
P1099 虫食算
语言
C++
递交时间
2019-07-25 16:16:54
评测时间
2019-07-25 16:16:54
评测机
分数
40
总耗时
≥6081ms
峰值内存
≥224.0 KiB