Submission #4653139
Source Code Expand
#include <bits/stdc++.h> using namespace std; int main() { int W,H; cin >> W >> H; cout << (3*W == 4*H 0 ? "4:3" : "16:9") << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - テレビ |
User | MORIKOOH |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 164 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:7:23: error: expected ‘)’ before numeric constant cout << (3*W == 4*H 0 ? "4:3" : "16:9") << endl; ^