记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:15:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   15 |                         for(i=0;i<strlen(s);i++)
      |                                 ~^~~~~~~~~~
foo.cc:20:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   20 |                                 for(j=i;j<strlen(s);j++)
      |                                         ~^~~~~~~~~~
foo.cc:51:34: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   51 |                         for(i=0;i<strlen(s);i++)
      |                                 ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Runtime Error Segmentation fault 5ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Accepted 3ms 412.0 KiB
#5 Runtime Error Segmentation fault 3ms 412.0 KiB
#6 Runtime Error Segmentation fault 4ms 412.0 KiB
#7 Runtime Error Segmentation fault 4ms 412.0 KiB
#8 Accepted 3ms 412.0 KiB
#9 Accepted 3ms 412.0 KiB
#10 Accepted 4ms 284.0 KiB

信息

递交者
类型
递交
题目
P2390 字符串编辑(
语言
C++
递交时间
2023-10-27 13:58:35
评测时间
2023-10-27 13:58:35
评测机
分数
60
总耗时
41ms
峰值内存
412.0 KiB