Runtime Error

/in/foo.cc: In function 'void getprimes_2()':
/in/foo.cc:13:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |                 for (int j=0;j<primes.size()&&primes[j]*i<=N;j++)
      |                              ~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error 3ms 1.539 MiB
#2 Runtime Error 3ms 1.523 MiB
#3 Runtime Error 3ms 1.52 MiB
#4 Runtime Error 3ms 1.52 MiB
#5 Runtime Error 3ms 1.543 MiB

信息

递交者
类型
递交
题目
P2620 B-smooth数5级2 2024.3
语言
C++
递交时间
2026-05-31 09:07:11
评测时间
2026-05-31 09:07:11
评测机
分数
0
总耗时
16ms
峰值内存
1.543 MiB