よじろめ覚書

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

2019-10-01から1ヶ月間の記事一覧

ABC077B - Around Square

ABC

問題:B - Around Square #include <cmath> #include <iostream> using namespace std; #define REP(i, n) for (int i = 0; i < n; ++i) int main(void) { int n, cnt = 1; cin.tie(0); ios::sync_with_stdio(false); cin >> n; while (true) { if (pow(cnt, 2) > n) { cout <</iostream></cmath>…