/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'std::__cxx11::string cmp(std::__cxx11::string)':
/in/foo.cc:7:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<m.length()/2;)
                 ~^~~~~~~~~~~~~
/in/foo.cc: In function 'int acmp(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:19:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<m.length();i++)
                 ~^~~~~~~~~~~
/in/foo.cc:30:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<m.length()-1;i++)
                 ~^~~~~~~~~~~~~
/in/foo.cc:17:9: warning: variable 'c' set but not used [-Wunused-but-set-variable]
     int c=0;
         ^
/in/foo.cc: In function 'int bcmp(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:45:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<m.length();i++)
                 ~^~~~~~~~~~~
/in/foo.cc:56:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<m.length()-1;i++)
                 ~^~~~~~~~~~~~~
/in/foo.cc:43:9: warning: variable 'c' set but not used [-Wunused-but-set-variable]
     int c=0;
         ^
/in/foo.cc: In function 'int acmp(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:40:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/in/foo.cc: In function 'int bcmp(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:66:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Time Exceeded ≥1005ms ≥372.0 KiB
#2 Time Exceeded ≥1009ms ≥348.0 KiB
#3 Time Exceeded ≥1012ms ≥352.0 KiB
#4 Time Exceeded ≥1007ms ≥352.0 KiB
#5 Time Exceeded ≥1010ms ≥380.0 KiB
#6 Time Exceeded ≥1009ms ≥384.0 KiB
#7 Time Exceeded ≥1006ms ≥756.0 KiB
#8 Time Exceeded ≥1004ms ≥640.0 KiB
#9 Time Exceeded ≥1003ms ≥640.0 KiB
#10 Time Exceeded ≥1002ms ≥756.0 KiB

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2018-09-13 16:34:06
评测时间
2018-09-13 16:34:06
评测机
分数
0
总耗时
≥10071ms
峰值内存
≥756.0 KiB