记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:28:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<p.size();i++){
              ~^~~~~~~~~
/in/foo.cc:29:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   std::cout<<p[i]<<" \n"[i==p.size()-1];
                          ~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 328.0 KiB
#2 Accepted 1ms 388.0 KiB
#3 Accepted 1ms 388.0 KiB
#4 Accepted 3ms 1.109 MiB
#5 Accepted 6ms 2.18 MiB

信息

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