結果

問題 No.427 テレビ
ユーザー hermione17
提出日時 2016-10-02 23:37:06
言語 Java
(openjdk 23)
結果
AC  
実行時間 139 ms / 2,000 ms
コード長 391 bytes
コンパイル時間 3,376 ms
コンパイル使用メモリ 75,132 KB
実行使用メモリ 41,464 KB
最終ジャッジ日時 2024-12-21 15:11:13
合計ジャッジ時間 5,357 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 8
権限があれば一括ダウンロードができます

ソースコード

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