Runtime Error

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

信息

递交者
类型
递交
题目
P1103 6-10 哪个字母对用得最多
语言
C++
递交时间
2023-08-17 20:41:07
评测时间
2023-08-17 20:41:07
评测机
分数
20
总耗时
19ms
峰值内存
460.0 KiB