记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:20:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Ints>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   20 |         for (int i = 0; i < as.size(); i++)
      |                         ~~^~~~~~~~~~~
foo.cc:26:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Ints>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   26 |         for (int i = 1; i < as.size(); i++)
      |                         ~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 284.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 6ms 364.0 KiB
#4 Time Exceeded ≥1101ms ≥668.0 KiB
#5 Time Exceeded ≥1100ms ≥1.449 MiB

信息

递交者
类型
递交
题目
P1040 OO10-1 基于vector的素数筛选法
比赛
2023春面向对象的程序设计方法(3)
语言
C++
递交时间
2023-05-24 18:42:51
评测时间
2023-05-24 18:42:51
评测机
分数
60
总耗时
≥2212ms
峰值内存
≥1.449 MiB