记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:14:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   14 |         while(flag<Prime.size()&&i*Prime[flag]<=n)
      |               ~~~~^~~~~~~~~~~~~
foo.cc:22:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   22 |     for(int i=0;i<v.size();i++)
      |                 ~^~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 2ms 536.0 KiB
#2 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 324.0 KiB
#4 Wrong Answer Standard answer longer than user output. 2ms 320.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1336 OO10-1 基于vector的素数筛选法
语言
C++
递交时间
2024-05-03 13:49:32
评测时间
2024-05-03 13:49:32
评测机
分数
20
总耗时
13ms
峰值内存
536.0 KiB