Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:8:22: warning: comparison of integer expressions of different signedness: ‘long long 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 Wrong Answer Read 0, expect 1. 3ms 536.0 KiB
#2 Accepted 3ms 536.0 KiB
#3 Wrong Answer Read 6, expect 8. 3ms 320.0 KiB
#4 Wrong Answer Read 1, expect 2. 2ms 536.0 KiB
#5 Accepted 2ms 320.0 KiB
#6 Accepted 2ms 536.0 KiB
#7 Wrong Answer Read 3, expect 15. 2ms 536.0 KiB
#8 Wrong Answer Read 253, expect 254. 2ms 324.0 KiB
#9 Wrong Answer Read 11, expect 12. 2ms 536.0 KiB
#10 Accepted 2ms 536.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2024-05-09 14:35:58
评测时间
2024-05-09 14:35:58
评测机
分数
40
总耗时
28ms
峰值内存
536.0 KiB