/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int canlink(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:6:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i = 1; i < min(str1.length(), str2.length()); i++) {//重叠长度从1开始,直到最短的字符串长度-1(因为不能包含)
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:26:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main() {
      ^
# 状态 耗时 内存占用
#1 Accepted 1ms 332.0 KiB
#2 Accepted 1ms 328.0 KiB
#3 Accepted 1ms 352.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 400.0 KiB
#6 Accepted 1ms 328.0 KiB
#7 Time Exceeded ≥1005ms ≥376.0 KiB
#8 Wrong Answer 1ms 364.0 KiB

信息

递交者
类型
递交
题目
P1311 单词接龙
语言
C++
递交时间
2021-10-23 22:04:15
评测时间
2021-10-23 22:04:15
评测机
分数
72
总耗时
≥1017ms
峰值内存
≥400.0 KiB