0_0_20614631_9366.cpp:3:5: error: expected unqualified-id before numeric constant
1) res=(res*(m-1))/m; return res;}int main(){ LL n; int T; scanf ("%d",&T); while(T--) { scanf("%lld",&n); printf("%lld\n",fun(n+1)); } return 0;}
^
0_0_20614631_9366.cpp:3:30: error: expected unqualified-id before 'return'
1) res=(res*(m-1))/m; return res;}int main(){ LL n; int T; scanf ("%d",&T); while(T--) { scanf("%lld",&n); printf("%lld\n",fun(n+1)); } return 0;}
^
0_0_20614631_9366.cpp:3:41: error: expected declaration before '}' token
1) res=(res*(m-1))/m; return res;}int main(){ LL n; int T; scanf ("%d",&T); while(T--) { scanf("%lld",&n); printf("%lld\n",fun(n+1)); } return 0;}
^
|