/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'bool check(std::vector<int>)':
/in/foo.cc:24:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for(i=0;i<p.size()-1;++i)
         ~^~~~~~~~~~~
/in/foo.cc: In function 'void dfs(int, int)':
/in/foo.cc:35:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for(i=0;i<v.size();++i)
         ~^~~~~~~~~
/in/foo.cc:41:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for(i=0;i<v.size();++i)
         ~^~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:60:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 for(i=0;i<q.size();++i)
         ~^~~~~~~~~
/in/foo.cc:56:9: warning: unused variable 'j' [-Wunused-variable]
 int n,i,j,t,s;
         ^
/in/foo.cc:56:11: warning: unused variable 't' [-Wunused-variable]
 int n,i,j,t,s;
           ^
/in/foo.cc:56:13: warning: unused variable 's' [-Wunused-variable]
 int n,i,j,t,s;
             ^
# 状态 耗时 内存占用
#1 Accepted 39ms 384.0 KiB
#2 Time Exceeded ≥1007ms ≥356.0 KiB
#3 Time Exceeded ≥1005ms ≥332.0 KiB

信息

递交者
类型
递交
题目
P1520 zgx的乘积最大
语言
C++
递交时间
2018-03-15 20:02:06
评测时间
2018-03-15 20:02:06
评测机
分数
1
总耗时
≥2052ms
峰值内存
≥384.0 KiB