/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'void pre()':
foo.cc:13:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int j=0;j<prim.size()&&i*prim[j]<=100000000;j++){
               ~^~~~~~~~~~~~
foo.cc: In function 'bool check(int)':
foo.cc:22:6: warning: unused variable 'j' [-Wunused-variable]
  int j, k = i;
      ^
foo.cc: In function 'int main()':
foo.cc:34:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥643ms ≥97.07 MiB
#2 Time Exceeded ≥641ms ≥96.551 MiB
#3 Time Exceeded ≥1078ms ≥126.207 MiB
#4 Time Exceeded ≥1071ms ≥123.949 MiB
#5 Time Exceeded ≥1052ms ≥128.113 MiB

信息

递交者
类型
递交
题目
P1359 Superprime
语言
C++
递交时间
2021-08-19 10:33:32
评测时间
2021-08-19 10:33:32
评测机
分数
0
总耗时
≥4486ms
峰值内存
≥128.113 MiB