记录详情

Runtime Error

/in/foo.cc: In function 'void ruler()':
/in/foo.cc:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int j=0;j<prime.size()&&prime[j]*i<N;++j){
                     ~^~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:36:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<prime.size();++i){
                 ~^~~~~~~~~~~~~
/in/foo.cc:44:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<prime.size();++i){
                 ~^~~~~~~~~~~~~
/in/foo.cc:52:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<prime.size();++i){
                 ~^~~~~~~~~~~~~
/in/foo.cc:60:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<prime.size();++i){
                 ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 11ms 1.922 MiB
#2 Accepted 12ms 1.91 MiB
#3 Accepted 11ms 1.98 MiB
#4 Accepted 10ms 1.934 MiB
#5 Accepted 11ms 1.977 MiB
#6 Accepted 11ms 1.992 MiB
#7 Accepted 17ms 1.957 MiB
#8 Wrong Answer 15ms 5.512 MiB
#9 Wrong Answer 16ms 5.559 MiB
#10 Wrong Answer 16ms 5.586 MiB
#11 Wrong Answer 16ms 5.508 MiB
#12 Runtime Error 10ms 1.875 MiB
#13 Runtime Error 11ms 2.0 MiB
#14 Runtime Error 11ms 1.898 MiB

信息

递交者
类型
递交
题目
P1303 G. Mathforces
比赛
南京师范大学2021年11月程序设计竞赛
语言
C++
递交时间
2021-11-21 15:51:10
评测时间
2021-11-21 15:51:13
评测机
分数
125
总耗时
184ms
峰值内存
5.586 MiB