记录详情

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: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:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(prime[i]*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:34: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:36:2: note: in expansion of macro 'rep'
  rep(i,1,n) ans=(ans*(cnt[i]*2+1))%mod;
  ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 348.0 KiB
#2 Accepted 3ms 352.0 KiB
#3 Accepted 3ms 308.0 KiB
#4 Accepted 3ms 440.0 KiB
#5 Accepted 28ms 1.586 MiB
#6 Accepted 38ms 1.945 MiB
#7 Accepted 121ms 5.297 MiB
#8 Accepted 362ms 12.852 MiB
#9 Accepted 529ms 16.09 MiB

信息

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