結果

問題 No.427 テレビ
ユーザー Tsukasa_Type
提出日時 2018-02-09 17:57:53
言語 Java
(openjdk 23)
結果
AC  
実行時間 120 ms / 2,000 ms
コード長 260 bytes
コンパイル時間 1,900 ms
コンパイル使用メモリ 74,484 KB
実行使用メモリ 54,252 KB
最終ジャッジ日時 2024-10-07 18:45:37
合計ジャッジ時間 3,673 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main {
	static Scanner sc = new Scanner(System.in);
	public static void main(String[] args) {
		int h = sc.nextInt();
		int w = sc.nextInt();
		if (h > w) {System.out.println("TATE");}
		else {System.out.println("YOKO");}
	}
}
0