记录详情

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 ≥1001ms ≥1.891 MiB
#2 Time Exceeded ≥1000ms ≥2.172 MiB
#3 Time Exceeded ≥1001ms ≥1.945 MiB
#4 Time Exceeded ≥1000ms ≥1.859 MiB
#5 Time Exceeded ≥1005ms ≥1.914 MiB

信息

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