Runtime Error

/in/foo.cc: In function 'bool isNumber(const std::string&)':
/in/foo.cc:29:27: 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 (int i = start; i < token.size(); ++i) {
      |                         ~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 2ms 476.0 KiB
#2 Runtime Error 2ms 524.0 KiB
#3 Runtime Error 2ms 472.0 KiB
#4 Runtime Error 2ms 524.0 KiB
#5 Runtime Error 1ms 532.0 KiB

信息

递交者
类型
递交
题目
P1016 根据后缀表达式的值(count)
语言
C++
递交时间
2025-10-05 19:17:14
评测时间
2025-10-05 19:17:14
评测机
分数
0
总耗时
10ms
峰值内存
532.0 KiB