結果

問題 No.427 テレビ
ユーザー prog470
提出日時 2016-10-10 11:45:14
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 383 bytes
コンパイル時間 856 ms
コンパイル使用メモリ 86,776 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-21 17:16:20
合計ジャッジ時間 1,176 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <stack>
#include <algorithm>
#include <sstream>
#include <iostream>
#include <string>
#include <cstdio>
#include <cmath>

using namespace std;

int main() {

	long long H, W;
	cin >> H >> W;
	if (3 * H == 4 * W) {
		cout << "TATE" << endl;
	}
	else {
		cout << "YOKO" << endl;
	}

	return 0;
}
0