Wrong Answer
foo.cc: In function 'void Count(char*, int*)': foo.cc:6:22: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6 | for(int i=0;i<strlen(s);i++) | ~^~~~~~~~~~ foo.cc:11:30: warning: array subscript has type 'char' [-Wchar-subscripts] 11 | a[s[i]]++; | ~~~^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P2988 6-9 哪个字母用得最多
- 语言
- C++
- 递交时间
- 2023-12-05 16:27:42
- 评测时间
- 2023-12-05 16:27:42
- 评测机
- 分数
- 80
- 总耗时
- 21ms
- 峰值内存
- 516.0 KiB