/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'bool CHECK(int, int)':
/in/foo.cc:26:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (k+1>lh[l].size()||cnt>lh[l][k++]) return 0; 
           ~~~^~~~~~~~~~~~~
/in/foo.cc:34:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if (k+1>hh[h].size()||cnt>hh[h][k++]) return 0;
           ~~~^~~~~~~~~~~~~
/in/foo.cc: In function 'bool FINIALCHECK()':
/in/foo.cc:45:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(int j=1;j<=n+1;j++) 
      ^~~
/in/foo.cc:52:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   if (k!=lh[i].size()) return 0;
   ^~
/in/foo.cc:52:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (k!=lh[i].size()) return 0;
       ~^~~~~~~~~~~~~~
/in/foo.cc:57:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(int j=1;j<=m+1;j++) 
      ^~~
/in/foo.cc:64:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   if (k!=hh[i].size()) return 0;    
   ^~
/in/foo.cc:64:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (k!=hh[i].size()) return 0;    
       ~^~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:102:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(int j=1;j<=m;j++)
      ^~~
/in/foo.cc:105:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   cout<<endl;    
   ^~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 312.0 KiB
#2 Accepted 3ms 324.0 KiB
#3 Accepted 1ms 312.0 KiB
#4 Time Exceeded ≥5010ms ≥320.0 KiB
#5 Time Exceeded ≥5011ms ≥316.0 KiB
#6 Time Exceeded ≥5006ms ≥320.0 KiB
#7 Time Exceeded ≥5002ms ≥308.0 KiB
#8 Time Exceeded ≥5010ms ≥324.0 KiB
#9 Time Exceeded ≥5010ms ≥320.0 KiB
#10 Time Exceeded ≥5010ms ≥324.0 KiB

信息

递交者
类型
递交
题目
P1247 Cross Logic
语言
C++
递交时间
2017-09-28 19:49:11
评测时间
2017-09-28 19:49:11
评测机
分数
30
总耗时
≥35070ms
峰值内存
≥324.0 KiB