結果
| 問題 | No.427 テレビ | 
| コンテスト | |
| ユーザー |  Eclair1015 | 
| 提出日時 | 2018-07-10 19:47:58 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 256 bytes | 
| コンパイル時間 | 453 ms | 
| コンパイル使用メモリ | 58,828 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-09-13 15:39:40 | 
| 合計ジャッジ時間 | 972 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 8 | 
ソースコード
#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)&&h<w) {
		cout << "YOKO" << "\n";
	} else {
		cout << "TATE" << "\n";
	}
	return 0;
}
            
            
            
        