/ :-) /

记录详情

Accepted

/in/foo.cc: In function 'int canlink(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:7:22: 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:27:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main() {
      ^
# 状态 耗时 内存占用
#1 Accepted 7ms 256.0 KiB
#2 Accepted 6ms 348.0 KiB
#3 Accepted 4ms 364.0 KiB
#4 Accepted 4ms 348.0 KiB
#5 Accepted 19ms 380.0 KiB
#6 Accepted 6ms 380.0 KiB

信息

递交者
类型
递交
题目
单词接龙
语言
C++
递交时间
2018-07-23 23:02:46
评测时间
2018-07-23 23:02:46
评测机
分数
96
总耗时
47ms
峰值内存
380.0 KiB