记录详情

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 6ms 868.0 KiB
#2 Runtime Error 2ms 576.0 KiB
#3 Runtime Error 5ms 864.0 KiB
#4 Runtime Error 2ms 592.0 KiB
#5 Runtime Error 7ms 912.0 KiB

信息

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