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

信息

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