记录详情

Time Exceeded

foo.cc: In function 'int Substring(std::__cxx11::string)':
foo.cc:8:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  char  *b= "5" ;
            ^~~
foo.cc:11:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<str.size();i++)
              ~^~~~~~~~~~~
foo.cc:12:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=1;j<=((str.substr(i)).size());j++)
               ~^~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 4ms 408.0 KiB
#5 Accepted 4ms 404.0 KiB
#6 Accepted 4ms 384.0 KiB
#7 Accepted 4ms 408.0 KiB
#8 Time Exceeded ≥1462ms ≥792.0 KiB
#9 Time Exceeded ≥1459ms ≥836.0 KiB
#10 Time Exceeded ≥1461ms ≥820.0 KiB
#11 Time Exceeded ≥1462ms ≥832.0 KiB
#12 Time Exceeded ≥1455ms ≥832.0 KiB
#13 Time Exceeded ≥1474ms ≥836.0 KiB

信息

递交者
类型
递交
题目
P1290 C. Young Man Do Not Say Five
比赛
南京师范大学2021年11月程序设计竞赛
语言
C++
递交时间
2021-11-21 15:19:36
评测时间
2021-11-21 15:19:36
评测机
分数
90
总耗时
≥8798ms
峰值内存
≥836.0 KiB