记录详情

Runtime Error

/in/foo.cc: In function 'int return_num(char*)':
/in/foo.cc:8:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=0;i<strlen(s);i++)
               ~^~~~~~~~~~
/in/foo.cc: In function 'int return_num2(char*)':
/in/foo.cc:18:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i=1;i<strlen(s);i++)
               ~^~~~~~~~~~
/in/foo.cc: In function 'int main(int, char**, char**)':
/in/foo.cc:33:16: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100000]' [-Wformat=]
   scanf("%s",&s);
                ^
/in/foo.cc:40:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100000]' [-Wformat=]
    scanf("%s",&s);
                 ^
# 状态 耗时 内存占用
#1 Runtime Error 33ms 592.0 KiB
#2 Runtime Error 20ms 596.0 KiB
#3 Wrong Answer 2ms 600.0 KiB
#4 Wrong Answer 2ms 600.0 KiB
#5 Wrong Answer 10ms 596.0 KiB

信息

递交者
类型
递交
题目
P1204 水滴
比赛
2020年互联网创新创业科技节程序设计大赛
语言
C++
递交时间
2020-12-09 16:51:20
评测时间
2020-12-09 16:51:20
评测机
分数
0
总耗时
69ms
峰值内存
600.0 KiB