よじろめ覚書

私の理解度重視のソースコードです。

2019-08-09から1日間の記事一覧

ABC051B - Sum of Three Integers

ABC

問題:B - Sum of Three Integers #include <iostream> using namespace std; #define REP(i, n) for (int i = 0; i < (n); ++i) int main(void) { int k, s, ans = 0; cin.tie(0); ios::sync_with_stdio(false); cin >> k >> s; REP(x, k + 1) { REP(y, k + 1) { int </iostream>…