/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'bool check(std::vector<int>)':
foo.cc:24:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   24 | for(i=0;i<p.size()-1;++i)
      |         ~^~~~~~~~~~~
foo.cc: In function 'void dfs(int, int)':
foo.cc:35:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   35 | for(i=0;i<v.size();++i)
      |         ~^~~~~~~~~
foo.cc:41:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   41 | for(i=0;i<v.size();++i)
      |         ~^~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:60:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   60 | for(i=0;i<q.size();++i)
      |         ~^~~~~~~~~
foo.cc:56:9: warning: unused variable 'j' [-Wunused-variable]
   56 | int n,i,j,t,s;
      |         ^
foo.cc:56:11: warning: unused variable 't' [-Wunused-variable]
   56 | int n,i,j,t,s;
      |           ^
foo.cc:56:13: warning: unused variable 's' [-Wunused-variable]
   56 | int n,i,j,t,s;
      |             ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 44ms 384.0 KiB
#2 Time Exceeded ≥1101ms ≥384.0 KiB
#3 Time Exceeded ≥1099ms ≥384.0 KiB

信息

递交者
类型
递交
题目
P1520 zgx的乘积最大
语言
C++
递交时间
2021-12-23 20:59:30
评测时间
2021-12-23 21:00:28
评测机
分数
1
总耗时
≥2245ms
峰值内存
≥384.0 KiB