結果

問題 No.427 テレビ
ユーザー shinwisteriashinwisteria
提出日時 2017-03-30 21:48:09
言語 Java21
(openjdk 21)
結果
AC  
実行時間 131 ms / 2,000 ms
コード長 276 bytes
コンパイル時間 4,877 ms
コンパイル使用メモリ 72,124 KB
実行使用メモリ 56,208 KB
最終ジャッジ日時 2023-09-21 08:56:03
合計ジャッジ時間 5,792 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
55,736 KB
testcase_01 AC 126 ms
56,112 KB
testcase_02 AC 128 ms
55,692 KB
testcase_03 AC 126 ms
56,004 KB
testcase_04 AC 128 ms
56,048 KB
testcase_05 AC 126 ms
56,056 KB
testcase_06 AC 126 ms
56,108 KB
testcase_07 AC 127 ms
56,208 KB
testcase_08 AC 128 ms
56,124 KB
testcase_09 AC 129 ms
55,808 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class TV {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int H = s.nextInt(),W = s.nextInt();
		s.close();
		if(H - W > 0){
			System.out.println("TATE");
		}else{
			System.out.println("YOKO");
		}

	}

}
0