记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:17:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   17 |                 for (; j < num.size(); j++)
      |                        ~~^~~~~~~~~~~~
foo.cc:20:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   20 |                 if(j >= num.size())
      |                    ~~^~~~~~~~~~~~~
foo.cc:26:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |                 for (; j < num.size(); j++)
      |                        ~~^~~~~~~~~~~~
foo.cc:29:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   29 |                 if (j >= num.size())
      |                     ~~^~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 5ms 412.0 KiB
#2 Wrong Answer Read 282, expect 264. 4ms 412.0 KiB
#3 Wrong Answer Read 2653, expect 950. 8ms 412.0 KiB
#4 Wrong Answer Read 4387, expect 991. 15ms 412.0 KiB
#5 Wrong Answer Read 7868, expect 1000. 35ms 500.0 KiB

信息

递交者
类型
递交
题目
2-3 参赛人数
比赛
2023 程序设计与竞赛(作业6:走向综合)
语言
C++
递交时间
2023-10-28 19:14:56
评测时间
2023-10-28 19:14:56
评测机
分数
20
总耗时
68ms
峰值内存
500.0 KiB