Skip to content

Instantly share code, notes, and snippets.

@whatalnk
Created November 19, 2016 03:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatalnk/1fae3f58c56487cfa1dbd33b7b734ee2 to your computer and use it in GitHub Desktop.
Save whatalnk/1fae3f58c56487cfa1dbd33b7b734ee2 to your computer and use it in GitHub Desktop.
AtCoder ABC #035 A. テレビ [C++]
#include <algorithm>
#include <iostream>
#include <string>
using namespace std;
int main() {
int w, h;
cin >> w >> h;
if (w * 3 == h * 4){
cout << "4:3" << endl;
} else {
cout << "16:9" << endl;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment