记录详情

Accepted

/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:14: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:21:2: note: in expansion of macro 'rep'
  rep(i,firpos[a],len){
  ^~~
/in/foo.cc:22:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(prime[i]*prime[i]>a) break;//当大于等于根号n的时候就退出,复杂度才是根号n的。 
      ~~~~~~~~~~~~~~~~~^~
/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:35:2: note: in expansion of macro 'rep'
  rep(i,2,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:37:2: note: in expansion of macro 'rep'
  rep(i,1,n) ans=(ans*(cnt[i]*2+1))%mod;
  ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 308.0 KiB
#2 Accepted 3ms 348.0 KiB
#3 Accepted 3ms 324.0 KiB
#4 Accepted 3ms 476.0 KiB
#5 Accepted 22ms 2.211 MiB
#6 Accepted 30ms 2.719 MiB
#7 Accepted 85ms 7.551 MiB
#8 Accepted 280ms 18.82 MiB
#9 Accepted 336ms 23.5 MiB

信息

递交者
类型
递交
题目
樱花
题目数据
下载
语言
C++
递交时间
2018-10-23 18:43:13
评测时间
2018-10-23 18:43:13
评测机
分数
90
总耗时
768ms
峰值内存
23.5 MiB