#include #include #include #include #include #include #define N 100005 #define MOD 9973 #define LL unsigned long long #define eps 1e-7 #define zero(a) fabs(a)1){ LL tmp=get_sum(n,k); if(mmax==-1) mmax=tmp; else mmax=min(mmax,tmp); } printf("Case %d: %I64u\n",++cas,mmax); } return 0; }