結果

問題 No.427 テレビ
ユーザー kohaku_kohakukohaku_kohaku
提出日時 2016-11-10 02:06:53
言語 Java21
(openjdk 21)
結果
AC  
実行時間 125 ms / 2,000 ms
コード長 320 bytes
コンパイル時間 4,904 ms
コンパイル使用メモリ 71,144 KB
実行使用メモリ 57,676 KB
最終ジャッジ日時 2023-08-24 13:26:28
合計ジャッジ時間 4,091 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
55,432 KB
testcase_01 AC 119 ms
56,200 KB
testcase_02 AC 118 ms
55,696 KB
testcase_03 AC 118 ms
55,952 KB
testcase_04 AC 119 ms
56,176 KB
testcase_05 AC 120 ms
55,996 KB
testcase_06 AC 119 ms
55,932 KB
testcase_07 AC 125 ms
55,436 KB
testcase_08 AC 119 ms
55,888 KB
testcase_09 AC 120 ms
57,676 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

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