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() { ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1311 单词接龙
- 语言
- C++
- 递交时间
- 2021-10-23 22:04:15
- 评测时间
- 2021-10-23 22:04:15
- 评测机
- 分数
- 72
- 总耗时
- ≥1017ms
- 峰值内存
- ≥400.0 KiB