Runtime Error

/in/foo.cc: In function 'int _8to10(std::string)':
/in/foo.cc:19:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |         for(int i=0;i<=s.size();i++)
      |                     ~^~~~~~~~~~
/in/foo.cc: In function 'std::string _10to16(int)':
/in/foo.cc:36:1: warning: control reaches end of non-void function [-Wreturn-type]
   36 | }
      | ^
# 状态 耗时 内存占用
#1 Runtime Error 2ms 536.0 KiB
#2 Runtime Error 2ms 472.0 KiB
#3 Runtime Error 2ms 536.0 KiB
#4 Runtime Error 2ms 544.0 KiB
#5 Runtime Error 2ms 532.0 KiB
#6 Runtime Error 2ms 532.0 KiB
#7 Runtime Error 2ms 532.0 KiB
#8 Runtime Error 2ms 532.0 KiB
#9 Runtime Error 2ms 532.0 KiB
#10 Runtime Error 2ms 532.0 KiB

信息

递交者
类型
递交
题目
P3116 古籍翻译
语言
C++
递交时间
2026-05-23 14:08:35
评测时间
2026-05-23 14:08:35
评测机
分数
0
总耗时
26ms
峰值内存
544.0 KiB