Wrong Answer

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:121:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  121 |         if(s[i]>=97&&s[i]<=122||s[i]>=65&&s[i]<=90){
      |            ~~~~~~~~^~~~~~~~~~~
foo.cc:126:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
  126 |     for(int i=1;i<strlen(s);i++){
      |                 ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Wrong Answer Standard answer longer than user output. 4ms 412.0 KiB
#3 Wrong Answer Standard answer longer than user output. 3ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Wrong Answer Read aa, expect in. 3ms 412.0 KiB

信息

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