记录详情

Runtime Error

/in/foo.cc: In function 'std::__cxx11::string solve(std::__cxx11::string&, int)':
/in/foo.cc:10:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < str.size(); i += m) {
                     ~~^~~~~~~~~~~~
/in/foo.cc: In function 'std::__cxx11::string ifReverse(std::__cxx11::string&, int)':
/in/foo.cc:20:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if ((ans.count() & 1) || (ans.count() == m)) {
                               ~~~~~~~~~~~~^~~~
/in/foo.cc: In function 'std::__cxx11::string doReverse(std::__cxx11::string&)':
/in/foo.cc:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < s.size(); ++i) {
                     ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 5ms 752.0 KiB
#2 Runtime Error 2ms 464.0 KiB
#3 Runtime Error 4ms 632.0 KiB
#4 Runtime Error 2ms 488.0 KiB
#5 Runtime Error 7ms 736.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2021-12-12 00:22:59
评测时间
2021-12-12 00:22:59
评测机
分数
0
总耗时
23ms
峰值内存
752.0 KiB