結果

問題 No.427 テレビ
ユーザー Natsume-MNatsume-M
提出日時 2016-12-09 16:28:55
言語 Java21
(openjdk 21)
結果
AC  
実行時間 122 ms / 2,000 ms
コード長 224 bytes
コンパイル時間 2,331 ms
コンパイル使用メモリ 71,268 KB
実行使用メモリ 56,280 KB
最終ジャッジ日時 2023-08-24 13:30:00
合計ジャッジ時間 3,858 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 119 ms
56,280 KB
testcase_01 AC 120 ms
55,976 KB
testcase_02 AC 119 ms
55,900 KB
testcase_03 AC 121 ms
55,304 KB
testcase_04 AC 122 ms
55,972 KB
testcase_05 AC 119 ms
56,016 KB
testcase_06 AC 120 ms
55,848 KB
testcase_07 AC 120 ms
55,672 KB
testcase_08 AC 120 ms
55,964 KB
testcase_09 AC 120 ms
55,752 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;
class y427 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int h = sc.nextInt(), w = sc.nextInt();
		System.out.println((h/w)==(4/3)?"TATE":"YOKO");
		sc.close();
	}
}
0