记录详情

Time Exceeded

/in/foo.cc: In function 'void Euler(std::vector<bool>&, std::vector<long long int>&, ll)':
/in/foo.cc:13:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int j=0;j<prime.size()&&i*prime[j]<=n;j++)
                     ~^~~~~~~~~~~~~
/in/foo.cc: In function 'll f(ll)':
/in/foo.cc:27:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<prime.size()&&x!=1;i++)
                 ~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 456.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Time Exceeded ≥1001ms ≥28.438 MiB
#4 Wrong Answer 150ms 9.711 MiB
#5 Time Exceeded ≥1005ms ≥28.418 MiB

信息

递交者
类型
递交
比赛
2024春 悬赏令第五周
语言
C++
递交时间
2024-05-15 22:10:17
评测时间
2024-05-16 23:05:41
评测机
分数
20
总耗时
≥2161ms
峰值内存
≥28.438 MiB