记录详情

Time Exceeded

/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:19: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:27:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < s.size(); ++i) {
                     ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Time Exceeded ≥10000ms ≥2.023 MiB
#2 Time Exceeded ≥10000ms ≥2.066 MiB
#3 Time Exceeded ≥10001ms ≥1.91 MiB
#4 Time Exceeded ≥10000ms ≥1.957 MiB
#5 Time Exceeded ≥10004ms ≥2.148 MiB

信息

递交者
类型
递交
语言
C++
递交时间
2021-12-12 00:33:56
评测时间
2021-12-12 00:45:24
评测机
分数
0
总耗时
≥50007ms
峰值内存
≥2.148 MiB