Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:8:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
    8 |         for(int i=0;i<=s.size();i++)
      |                     ~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 536.0 KiB
#2 Wrong Answer Read 28, expect 37. 3ms 536.0 KiB
#3 Wrong Answer Read 78, expect 48. 3ms 320.0 KiB
#4 Wrong Answer Read 136, expect 58. 2ms 536.0 KiB
#5 Wrong Answer Read 561, expect 130. 2ms 324.0 KiB
#6 Wrong Answer Read 666, expect 126. 2ms 536.0 KiB
#7 Wrong Answer Read 861, expect 163. 2ms 536.0 KiB
#8 Wrong Answer Read 1035, expect 173. 2ms 320.0 KiB
#9 Wrong Answer Read 780, expect 163. 2ms 320.0 KiB
#10 Wrong Answer Read 2080, expect 233. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P2763 数字和
语言
C++
递交时间
2024-07-20 13:32:17
评测时间
2024-07-20 13:32:17
评测机
分数
10
总耗时
28ms
峰值内存
536.0 KiB