记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:20:22: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10000001]' [-Wformat=]
         scanf("%s",&c);
                      ^
/in/foo.cc:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int i=0;i<=strlen(c)-2;i++)
                     ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 380.0 KiB
#2 Wrong Answer 2ms 384.0 KiB
#3 Wrong Answer 1ms 340.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Wrong Answer 1ms 384.0 KiB

信息

递交者
类型
递交
题目
字符串匹配问题(strs)
题目数据
下载
语言
C++
递交时间
2019-08-14 17:03:28
评测时间
2019-08-14 17:03:28
评测机
分数
40
总耗时
10ms
峰值内存
384.0 KiB