Wrong Answer
foo.cc: In function 'int main()': foo.cc:10:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 10 | for(int i = 0;i < strlen(s);i++) | ~~^~~~~~~~~~~ foo.cc:12:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 12 | if(cnt1==0||cnt1== strlen(s))cout<<0; | ~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1557 Problem 8B. 最多能消除的字符数
- 比赛
- 2023秋 悬赏令第八周
- 语言
- C++
- 递交时间
- 2023-11-28 09:02:41
- 评测时间
- 2023-11-28 09:02:41
- 评测机
- 分数
- 60
- 总耗时
- 43ms
- 峰值内存
- 412.0 KiB