Runtime Error

/in/foo.cc: In function 'void Getprime(int)':
/in/foo.cc:12:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   12 |                 for(int j=0;j<Primes.size()&&i*Primes[j]<=n;j++)
      |                             ~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 524.0 KiB
#2 Wrong Answer 5ms 476.0 KiB
#3 Runtime Error 2ms 544.0 KiB
#4 Runtime Error 2ms 596.0 KiB

信息

递交者
类型
递交
题目
P2561 小杨的幸运数5级T1 2023.12
语言
C++
递交时间
2025-05-11 08:04:01
评测时间
2025-05-11 08:04:02
评测机
分数
0
总耗时
12ms
峰值内存
596.0 KiB