よじろめ覚書

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

2019-07-30から1日間の記事一覧

ABC046A - AtCoDeerくんとペンキ / AtCoDeer and Paint Cans

ABC

問題:A - AtCoDeerくんとペンキ / AtCoDeer and Paint Cans #include <iostream> #include <set> using namespace std; int main(void) { int a, b, c; set<int> se; cin.tie(0); ios::sync_with_stdio(false); cin >> a; cin >> b; cin >> c; se.insert(a); se.insert(b); se.i</int></set></iostream>…

ABC045B - 3人でカードゲームイージー / Card Game for Three (ABC Edit)

ABC

問題:B - 3人でカードゲームイージー / Card Game for Three (ABC Edit) #include <iostream> #include <string> using namespace std; #define REP(i, n) for (int i = 0; i < (n); ++i) int main(void) { string s_a, s_b, s_c; char card, flg = 'Z'; int length = 0; cin.</string></iostream>…