foo.cc: In function 'int main()':
foo.cc:40:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%I64d %I64d",&a,&b);
^
foo.cc:40:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
foo.cc:45:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%I64d\n",b);
^
foo.cc:54:48: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
for(int i=1;i<=k;++i) printf("%I64d ",ans[i]);
^
自豪的采用jd5进行评测(github.com/masnn/jd5)