记录详情

Memory Exceeded

/in/foo.cc: In function 'bool isequal(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:18:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<s1.length();i++)
              ~^~~~~~~~~~~~
/in/foo.cc: In function 'int find(std::vector<q>, std::__cxx11::string)':
/in/foo.cc:28:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<st.size();i++)
              ~^~~~~~~~~~
/in/foo.cc: In function 'long long int cc(std::vector<q>, std::__cxx11::string, int)':
/in/foo.cc:38:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  if(i==s.length())
     ~^~~~~~~~~~~~
/in/foo.cc:43:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int h=i;h<s.length();h++)
              ~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 63ms 892.0 KiB
#2 Time Exceeded ≥2001ms ≥3.438 MiB
#3 Time Exceeded ≥2000ms ≥3.477 MiB
#4 Time Exceeded ≥2001ms ≥3.863 MiB
#5 Time Exceeded ≥2000ms ≥3.957 MiB
#6 Time Exceeded ≥2000ms ≥4.496 MiB
#7 Memory Exceeded ≥1091ms ≥512.004 MiB
#8 Memory Exceeded ≥1110ms ≥512.004 MiB

信息

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