记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   11 |         for(i=0;i<str.length();i++)
      |                 ~^~~~~~~~~~~~~
/in/foo.cc:29:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   29 |         for(i=0;i<str.length();i++)
      |                 ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 484.0 KiB
#2 Accepted 1ms 536.0 KiB
#3 Accepted 1ms 528.0 KiB
#4 Wrong Answer 1ms 528.0 KiB
#5 Wrong Answer 2ms 540.0 KiB

信息

递交者
类型
递交
题目
3-5 计算器
语言
C++
递交时间
2025-03-25 22:09:30
评测时间
2025-03-25 22:09:30
评测机
分数
60
总耗时
10ms
峰值内存
540.0 KiB