結果

問題 No.427 テレビ
ユーザー yuiyui
提出日時 2017-02-20 17:12:05
言語 Java21
(openjdk 21)
結果
AC  
実行時間 126 ms / 2,000 ms
コード長 306 bytes
コンパイル時間 2,001 ms
コンパイル使用メモリ 72,104 KB
実行使用メモリ 56,204 KB
最終ジャッジ日時 2023-08-28 19:48:11
合計ジャッジ時間 4,289 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 125 ms
55,988 KB
testcase_01 AC 126 ms
55,916 KB
testcase_02 AC 125 ms
56,204 KB
testcase_03 AC 122 ms
55,884 KB
testcase_04 AC 122 ms
53,696 KB
testcase_05 AC 121 ms
55,928 KB
testcase_06 AC 123 ms
55,980 KB
testcase_07 AC 124 ms
55,872 KB
testcase_08 AC 125 ms
55,716 KB
testcase_09 AC 124 ms
56,136 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.IOException;
import java.util.Scanner;

public class Main {
	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		int tate = sc.nextInt();
		int yoko = sc.nextInt();
		if(tate>yoko){
			System.out.println("TATE");
		}else{
			System.out.println("YOKO");
		}
	}
}
0