记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:28: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   10 |         for (long i = 0; i < strlen(str1); i++)
      |                          ~~^~~~~~~~~~~~~~
foo.cc:13:26: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   13 |                 while (m < strlen(str))
      |                        ~~^~~~~~~~~~~~~
foo.cc:21:23: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   21 |                 if (m == strlen(str)) n++;
      |                     ~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Wrong Answer Read 4, expect 3. 4ms 412.0 KiB
#3 Accepted 3ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
比赛
2023 程序设计与竞赛(作业6:走向综合)
语言
C++
递交时间
2023-10-28 15:34:33
评测时间
2023-10-28 15:34:33
评测机
分数
80
总耗时
20ms
峰值内存
412.0 KiB