/in/foo.cc: In function 'int main()':
/in/foo.cc:29:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&n);
^
/in/foo.cc: In function 'void Prime()':
/in/foo.cc:19:18: warning: iteration 10000008 invokes undefined behavior [-Waggressive-loop-optimizations]
Rem[i]+=Rem[i-1];
^
/in/foo.cc:3:33: note: within this loop
#define Goo(i,a,n) for(int i=a;i<=n;i++)
/in/foo.cc:11:6:
Goo(i,2,N)
~~~~~
/in/foo.cc:11:2: note: in expansion of macro 'Goo'
Goo(i,2,N)
^~~