結果

問題 No.427 テレビ
ユーザー Tsukasa_TypeTsukasa_Type
提出日時 2018-02-09 17:57:53
言語 Java21
(openjdk 21)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 260 bytes
コンパイル時間 2,056 ms
コンパイル使用メモリ 74,312 KB
実行使用メモリ 41,716 KB
最終ジャッジ日時 2024-04-16 18:44:13
合計ジャッジ時間 3,999 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
41,664 KB
testcase_01 AC 130 ms
41,088 KB
testcase_02 AC 129 ms
41,712 KB
testcase_03 AC 131 ms
41,628 KB
testcase_04 AC 131 ms
41,532 KB
testcase_05 AC 132 ms
41,532 KB
testcase_06 AC 132 ms
41,568 KB
testcase_07 AC 134 ms
41,716 KB
testcase_08 AC 132 ms
41,568 KB
testcase_09 AC 132 ms
41,152 KB
権限があれば一括ダウンロードができます

ソースコード

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