Runtime Error

foo.cc: In function ‘int main()’:
foo.cc:20:44: 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]
   20 |                 for(int j=0;prime[j]>n/i&&j<prime.size();j++)
      |                                           ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 3ms 536.0 KiB
#2 Wrong Answer Read 45, expect 135. 2ms 324.0 KiB
#3 Wrong Answer Read 3, expect 7. 2ms 764.0 KiB
#4 Runtime Error Aborted 2ms 832.0 KiB
#5 Runtime Error Aborted 2ms 792.0 KiB

信息

递交者
类型
递交
题目
P2620 B-smooth数5级2 2024.4
语言
C++
递交时间
2024-05-10 12:15:40
评测时间
2024-05-10 12:15:40
评测机
分数
0
总耗时
14ms
峰值内存
832.0 KiB