結果

問題 No.427 テレビ
ユーザー fkwnw3_1243fkwnw3_1243
提出日時 2017-05-03 14:14:35
言語 Java21
(openjdk 21)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 574 bytes
コンパイル時間 1,843 ms
コンパイル使用メモリ 71,592 KB
実行使用メモリ 49,480 KB
最終ジャッジ日時 2023-10-12 07:56:29
合計ジャッジ時間 2,942 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 40 ms
49,300 KB
testcase_01 AC 40 ms
49,444 KB
testcase_02 AC 40 ms
49,328 KB
testcase_03 AC 40 ms
49,480 KB
testcase_04 AC 41 ms
49,440 KB
testcase_05 AC 40 ms
49,240 KB
testcase_06 AC 41 ms
49,316 KB
testcase_07 AC 41 ms
49,444 KB
testcase_08 AC 40 ms
47,352 KB
testcase_09 AC 41 ms
49,468 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import static java.lang.System.in;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(in));
        String[] inputs = reader.readLine().split(" ");
        int H = Integer.parseInt(inputs[0]);
        int W = Integer.parseInt(inputs[1]);
        if(H < W) {
            System.out.println("YOKO");
        } else {
            System.out.println("TATE");
        }
    }

}
0