結果

問題 No.427 テレビ
ユーザー YatsukuYatsuku
提出日時 2016-10-14 12:59:14
言語 Java21
(openjdk 21)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 369 bytes
コンパイル時間 3,438 ms
コンパイル使用メモリ 70,532 KB
実行使用メモリ 56,324 KB
最終ジャッジ日時 2023-08-23 13:50:08
合計ジャッジ時間 4,533 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 126 ms
55,728 KB
testcase_01 AC 128 ms
55,996 KB
testcase_02 AC 127 ms
55,660 KB
testcase_03 AC 126 ms
55,744 KB
testcase_04 AC 126 ms
55,956 KB
testcase_05 AC 127 ms
55,856 KB
testcase_06 AC 126 ms
55,804 KB
testcase_07 AC 126 ms
56,324 KB
testcase_08 AC 127 ms
55,760 KB
testcase_09 AC 124 ms
55,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

class No427 {
    public static void main(String[] args) {
        long num1, num2;

        Scanner stdin = new Scanner(System.in);
        num1 = stdin.nextLong();
        num2 = stdin.nextLong();

        if (num1 > num2) {
            System.out.println("TATE");
        } else {
            System.out.println("YOKO");
        }
    }
}
0