记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while(flag<Prime.size()&&i*Prime[flag]<=n)
               ~~~~^~~~~~~~~~~~~
/in/foo.cc:22:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<v.size();i++)
                 ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB

信息

递交者
类型
自测
题目
P1040 OO10-1 基于vector的素数筛选法
语言
C++
递交时间
2024-04-27 23:29:15
评测时间
2024-04-27 23:29:15
评测机
分数
10
总耗时
1ms
峰值内存
360.0 KiB