记录详情

Runtime Error

/in/foo.cc: In function 'void count(char*, int&)':
/in/foo.cc:7:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<strlen(s);i++)
              ~^~~~~~~~~~
/in/foo.cc:10:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(kk==strlen(s))
     ~~^~~~~~~~~~~
/in/foo.cc:12:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<strlen(s);i++)
              ~^~~~~~~~~~
/in/foo.cc:17:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for(int j=i+1;j<strlen(s);j++)
                  ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 1ms 220.0 KiB
#4 Accepted 1ms 228.0 KiB
#5 Accepted 2ms 220.0 KiB
#6 Runtime Error 2ms 228.0 KiB
#7 Runtime Error 3ms 220.0 KiB
#8 Time Exceeded ≥15ms ≥224.0 KiB
#9 Runtime Error 1ms 204.0 KiB
#10 Runtime Error 2ms 204.0 KiB

信息

递交者
类型
递交
题目
(ty 1-4) 硬币翻转
语言
C++
递交时间
2020-12-07 23:13:21
评测时间
2020-12-07 23:13:21
评测机
分数
35
总耗时
35ms
峰值内存
228.0 KiB