记录详情

Time Exceeded

/in/foo.cc: In function 'void solve(std::__cxx11::string, std::map<std::__cxx11::basic_string<char>, long long int>&, std::vector<std::__cxx11::basic_string<char> >&, long long int)':
/in/foo.cc:19:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(long long i=0;i<list.size();i++)
                    ~^~~~~~~~~~~~
/in/foo.cc:29:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   else if(index+list[i].length()==str.length())
          ^
/in/foo.cc:18:12: warning: unused variable 'current_sum' [-Wunused-variable]
  long long current_sum=0;
            ^~~~~~~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:39:5: warning: first argument of 'int main(long long int, char**)' should be 'int' [-Wmain]
 int main(long long argc, char** argv) {
     ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 504.0 KiB
#2 Time Exceeded ≥2000ms ≥596.0 KiB
#3 Time Exceeded ≥2000ms ≥576.0 KiB
#4 Time Exceeded ≥2001ms ≥588.0 KiB
#5 Time Exceeded ≥2001ms ≥2.156 MiB
#6 Time Exceeded ≥2000ms ≥620.0 KiB
#7 Time Exceeded ≥2001ms ≥1.73 MiB
#8 Time Exceeded ≥2005ms ≥1.867 MiB

信息

递交者
类型
递交
题目
P1311 G. Rotating-Calipers
比赛
2021年互联网创新创业科技节程序设计大赛
语言
C++
递交时间
2021-12-23 19:30:50
评测时间
2021-12-23 19:30:50
评测机
分数
0
总耗时
≥14013ms
峰值内存
≥2.156 MiB