记录详情

Time Exceeded

/in/foo.cc: In function 'int main(int, char**)':
/in/foo.cc:13:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while(i < source.size()-1)
        ~~^~~~~~~~~~~~~~~~~
/in/foo.cc:19:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    if(i == source.size()-1)
       ~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:22:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(i == source.size()-1)
      ~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:22:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(i == source.size()-1)
   ^~
/in/foo.cc:24:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    count++;
    ^~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 1ms 216.0 KiB
#5 Accepted 1ms 216.0 KiB
#6 Accepted 1ms 216.0 KiB
#7 Accepted 1ms 216.0 KiB
#8 Accepted 1ms 216.0 KiB
#9 Time Exceeded ≥11ms ≥344.0 KiB
#10 Time Exceeded ≥15ms ≥336.0 KiB

信息

递交者
类型
递交
题目
(ty 1-4) 硬币翻转
比赛
2019-1-20寒假集训1
语言
C++
递交时间
2019-01-20 11:58:20
评测时间
2019-01-20 11:58:20
评测机
分数
60
总耗时
≥38ms
峰值内存
≥344.0 KiB