結果

問題 No.427 テレビ
ユーザー GrenacheGrenache
提出日時 2016-10-02 22:21:38
言語 Java21
(openjdk 21)
結果
AC  
実行時間 132 ms / 2,000 ms
コード長 604 bytes
コンパイル時間 3,369 ms
コンパイル使用メモリ 74,044 KB
実行使用メモリ 56,044 KB
最終ジャッジ日時 2023-08-23 12:12:18
合計ジャッジ時間 5,535 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 129 ms
55,708 KB
testcase_01 AC 132 ms
55,920 KB
testcase_02 AC 128 ms
55,824 KB
testcase_03 AC 127 ms
55,704 KB
testcase_04 AC 126 ms
56,044 KB
testcase_05 AC 126 ms
55,464 KB
testcase_06 AC 126 ms
55,520 KB
testcase_07 AC 126 ms
55,828 KB
testcase_08 AC 126 ms
55,636 KB
testcase_09 AC 125 ms
55,616 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;


public class Main_yukicoder427 {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		long h = sc.nextInt();
		long w = sc.nextInt();

		if (h > w) {
			pr.println("TATE");
		} else {
			pr.println("YOKO");
		}
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(System.in);
		pr = new Printer(System.out);

		solve();

		pr.close();
		sc.close();
	}

	private static class Printer extends PrintWriter {
		Printer(PrintStream out) {
			super(out);
		}
	}
}
0