/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'bool Check()':
/in/foo.cc:33:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if(k>=Line[j+1].size()||cnt!=Line[j+1][k])return false;
         ~^~~~~~~~~~~~~~~~~~
/in/foo.cc:38:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if((!cnt&&k!=Line[j+1].size())||(cnt&&(k!=(int)Line[j+1].size()-1||cnt!=Line[j+1][k])))return false;
             ~^~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'bool Check2(int)':
/in/foo.cc:49:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if(k>=Line[j+1].size()||cnt!=Line[j+1][k])return false;
         ~^~~~~~~~~~~~~~~~~~
/in/foo.cc:54:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if((!cnt&&k>Line[j+1].size())||(cnt&&(k>(int)Line[j+1].size()-1||cnt>Line[j+1][k])))return false;
             ~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'void Dfs(int)':
/in/foo.cc:79:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if(j>=Row[Depth].size()||cnt!=Row[Depth][j]) {
         ~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:87:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if((!cnt&&j!=Row[Depth].size())||(cnt&&(j!=(int)Row[Depth].size()-1||cnt!=Row[Depth].back())))bj=0;
             ~^~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 328.0 KiB
#2 Accepted 2ms 328.0 KiB
#3 Accepted 2ms 332.0 KiB
#4 Accepted 1ms 328.0 KiB
#5 Accepted 1ms 320.0 KiB
#6 Accepted 115ms 336.0 KiB
#7 Accepted 73ms 324.0 KiB
#8 Accepted 54ms 328.0 KiB
#9 Time Exceeded ≥5010ms ≥336.0 KiB
#10 Time Exceeded ≥5005ms ≥332.0 KiB

信息

递交者
类型
递交
题目
P1247 Cross Logic
语言
C++
递交时间
2017-10-19 09:47:31
评测时间
2017-10-19 09:47:31
评测机
分数
80
总耗时
≥10270ms
峰值内存
≥336.0 KiB