Runtime Error

foo.cc: In function ‘bool cmp(std::string, std::string)’:
foo.cc:9:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
    9 |         for(int i=0;i<a.size();i++)
      |                     ~^~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 3ms 792.0 KiB
#2 Wrong Answer Standard answer longer than user output. 3ms 832.0 KiB
#3 Accepted 3ms 792.0 KiB
#4 Accepted 3ms 792.0 KiB
#5 Accepted 4ms 792.0 KiB
#6 Runtime Error Segmentation fault 3ms 792.0 KiB
#7 Accepted 6ms 792.0 KiB
#8 Runtime Error Segmentation fault 3ms 792.0 KiB
#9 Runtime Error Segmentation fault 3ms 1020.0 KiB
#10 Runtime Error Segmentation fault 3ms 1020.0 KiB

信息

递交者
类型
递交
题目
P1988 牛牛闯关
语言
C++
递交时间
2024-05-11 23:36:37
评测时间
2024-05-11 23:36:37
评测机
分数
40
总耗时
37ms
峰值内存
1020.0 KiB