/in/foo.cc: In function 'void initial()':
/in/foo.cc:21:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=1;j<=cnt&&prime[j]*i<=N;j++)
~^~~~~
/in/foo.cc:28:50: warning: iteration 59999999 invokes undefined behavior [-Waggressive-loop-optimizations]
for(int i=1;i<=N;i++)sum[i]=sum[i-1]+mobius[i];
~~~~~~~~^
/in/foo.cc:28:18: note: within this loop
for(int i=1;i<=N;i++)sum[i]=sum[i-1]+mobius[i];
~^~~
/in/foo.cc:20:19: warning: iteration 59999998 invokes undefined behavior [-Waggressive-loop-optimizations]
if(!book[i]){prime[++cnt]=i;mobius[i]=-1;}
~~~~~~^
/in/foo.cc:18:18: note: within this loop
for(int i=2;i<=N;i++)
~^~~