/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'bool cmp(std::__cxx11::string, int, int)':
/in/foo.cc:10:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=st;i<s.size();i++)
                  ~^~~~~~~~~
/in/foo.cc: In function 'void dfs(std::__cxx11::string)':
/in/foo.cc:20:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(a[j].size()<=l-i) continue;          
                ~~~~~~~~~~~^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:30:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<n;i++) {cin>>a[i]; if(a[i].size()>mx) mx=a[i].size();}
                                         ~~~~~~~~~~~^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 4ms 356.0 KiB
#4 Accepted 2ms 336.0 KiB
#5 Accepted 2ms 328.0 KiB
#6 Accepted 2ms 256.0 KiB
#7 Time Exceeded ≥1004ms ≥384.0 KiB
#8 Wrong Answer 4ms 256.0 KiB

信息

递交者
类型
递交
题目
P1311 单词接龙
语言
C++
递交时间
2017-08-09 09:02:12
评测时间
2017-08-09 09:02:12
评测机
分数
72
总耗时
≥1028ms
峰值内存
≥384.0 KiB