记录详情

Time Exceeded

/in/foo.cc: In function 'void Euler()':
/in/foo.cc:2:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define rep(i,l,r) for(int i=(l);i<=(r);i++)
                                   ^
/in/foo.cc:8:2: note: in expansion of macro 'rep'
  rep(i,2,n){
  ^~~
/in/foo.cc:2:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define rep(i,l,r) for(int i=(l);i<=(r);i++)
                                   ^
/in/foo.cc:13:3: note: in expansion of macro 'rep'
   rep(j,1,len){
   ^~~
/in/foo.cc: In function 'void split(int)':
/in/foo.cc:2:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define rep(i,l,r) for(int i=(l);i<=(r);i++)
                                   ^
/in/foo.cc:20:2: note: in expansion of macro 'rep'
  rep(i,1,len){
  ^~~
/in/foo.cc:21:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(prime[i]>a) break;
      ~~~~~~~~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:2:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define rep(i,l,r) for(int i=(l);i<=(r);i++)
                                   ^
/in/foo.cc:33:2: note: in expansion of macro 'rep'
  rep(i,1,n) split(i);
  ^~~
/in/foo.cc:2:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
 #define rep(i,l,r) for(int i=(l);i<=(r);i++)
                                   ^
/in/foo.cc:35:2: note: in expansion of macro 'rep'
  rep(i,1,len) ans=(ans*(cnt[i]*2+1))%mod;
  ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 344.0 KiB
#2 Accepted 3ms 312.0 KiB
#3 Accepted 3ms 352.0 KiB
#4 Accepted 8ms 452.0 KiB
#5 Accepted 652ms 1.078 MiB
#6 Accepted 901ms 1.32 MiB
#7 Time Exceeded ≥1005ms ≥2.969 MiB
#8 Time Exceeded ≥1004ms ≥6.965 MiB
#9 Time Exceeded ≥1001ms ≥8.57 MiB

信息

递交者
类型
递交
题目
樱花
题目数据
下载
语言
C++
递交时间
2018-10-23 13:05:27
评测时间
2018-10-23 13:05:27
评测机
分数
60
总耗时
≥4583ms
峰值内存
≥8.57 MiB