よじろめ覚書

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

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

ABC048A - AtCoder *** Contest

ABC

問題:A - AtCoder *** Contest #include <iostream> #include <string> using namespace std; int main(void) { string a, s, c; cin.tie(0); ios::sync_with_stdio(false); cin >> a >> s >> c; cout << "A" << s[0] << "C" << "\n"; return 0; }</string></iostream>

ABC047B - すぬけ君の塗り絵 2 イージー / Snuke's Coloring 2 (ABC Edit)

ABC

問題:B - すぬけ君の塗り絵 2 イージー / Snuke's Coloring 2 (ABC Edit) #include <algorithm> #include <iostream> using namespace std; #define REP(i, n) for (int i = 0; i < (n); ++i) int main(void) { int w, h, n, x, y, a, min_x, max_x, min_y, max_y; cin.tie(0); i</iostream></algorithm>…