結果

問題 No.427 テレビ
ユーザー hermione17hermione17
提出日時 2016-10-02 23:37:06
言語 Java19
(openjdk 21)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 391 bytes
コンパイル時間 3,102 ms
コンパイル使用メモリ 71,376 KB
実行使用メモリ 56,116 KB
最終ジャッジ日時 2023-08-23 12:20:36
合計ジャッジ時間 5,154 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 118 ms
55,712 KB
testcase_01 AC 121 ms
55,500 KB
testcase_02 AC 124 ms
55,548 KB
testcase_03 AC 127 ms
55,948 KB
testcase_04 AC 124 ms
55,512 KB
testcase_05 AC 119 ms
55,696 KB
testcase_06 AC 119 ms
56,088 KB
testcase_07 AC 118 ms
55,576 KB
testcase_08 AC 121 ms
56,116 KB
testcase_09 AC 126 ms
55,604 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.PrintStream;
import java.util.Scanner;


public class Y427 {
	Y427() throws Exception {
		Scanner in = new Scanner(System.in);
		PrintStream out = new PrintStream(System.out);
		
		int a = in.nextInt();
		int b = in.nextInt();
				
		if (a < b) out.println("YOKO");
		else out.println("TATE");
	}

	public static void main(String argv[]) throws Exception {
		new Y427();
	}
}
0