记录详情

Time Exceeded

foo.cc: In function 'int ANS(std::vector<int>&, int)':
foo.cc:8:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    8 |  for(int i=0; i<v.size(); i++)
      |               ~^~~~~~~~~
foo.cc:9:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    9 |   for(int j=i+1; j<v.size(); j++)
      |                  ~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 15ms 384.0 KiB
#4 Accepted 161ms 504.0 KiB
#5 Time Exceeded ≥1101ms ≥640.0 KiB

信息

递交者
类型
递交
题目
6-1 和为定值的数对
语言
C++
递交时间
2022-08-09 13:23:53
评测时间
2022-08-09 13:23:53
评测机
分数
80
总耗时
≥1284ms
峰值内存
≥640.0 KiB