记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:28:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |         for(int i=0;i<p.size();i++){
      |                     ~^~~~~~~~~
foo.cc:29:41: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   29 |                 std::cout<<p[i]<<" \n"[i==p.size()-1];
      |                                        ~^~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 2ms 284.0 KiB
#3 Accepted 2ms 284.0 KiB
#4 Accepted 6ms 1.023 MiB
#5 Accepted 14ms 2.105 MiB

信息

递交者
类型
递交
题目
P1336 OO10-1 基于vector的素数筛选法
语言
C++
递交时间
2023-05-23 10:51:57
评测时间
2023-05-23 10:51:57
评测机
分数
100
总耗时
28ms
峰值内存
2.105 MiB