結果
問題 |
No.427 テレビ
|
ユーザー |
![]() |
提出日時 | 2018-07-10 19:46:12 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 247 bytes |
コンパイル時間 | 499 ms |
コンパイル使用メモリ | 59,460 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-13 15:37:04 |
合計ジャッジ時間 | 1,152 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 WA * 1 |
ソースコード
#include <iostream> #include <algorithm> #include <vector> #include<string> using namespace std; int main(){ int h, w; cin >> h >> w; if (h % 3 == 0 && w % 4 == 0) { cout << "YOKO" << "\n"; } else { cout << "TATE" << "\n"; } return 0; }