2019-07-08から1日間の記事一覧
問題: A - テレビ #include <iostream> using namespace std; int main(void) { int w, h; cin.tie(0); ios::sync_with_stdio(false); cin >> w >> h; cout << (w * 3 == h * 4? "4:3" : "16:9") << "\n"; return 0; } 4と3で割り切れたら、4:3と表示するようにしてい</iostream>…