foo.cc: In function 'int main()':
foo.cc:28:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
ll n; scanf("%lld",&n);
~~~~~^~~~~~~~~~~
foo.cc:26:39: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations]
rep(i,1,11) ans[i]=ans[i-1]*prim[i];
~~~~~~^
foo.cc:8:32: note: within this loop
#define rep(i,a,b) for(ll i=a;i<=b;++i)
foo.cc:26:9:
rep(i,1,11) ans[i]=ans[i-1]*prim[i];
~~~~~
foo.cc:26:5: note: in expansion of macro 'rep'
rep(i,1,11) ans[i]=ans[i-1]*prim[i];
^~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。