Contents Problem 題目網址中文網址 Solution 慢慢導出公式… Code UVa 11296UVa 11296 - Counting Solutions to an Integral Equation 123456789101112131415 #define N 1000001long long ans[N];int (){ for (int i = 1; i < N; i++) ans[i] = ans[i - 1] + i; int n; while (scanf("%d", &n) != EOF) printf("%lldn", ans[(n / 2) + 1]); return 0;} 赞微海报分享
近期评论