結果

問題 No.1591 Two Digits
ユーザー kinkincindykinkincindy
提出日時 2021-07-09 21:47:00
言語 Java21
(openjdk 21)
結果
AC  
実行時間 127 ms / 1,000 ms
コード長 310 bytes
コンパイル時間 2,110 ms
コンパイル使用メモリ 71,732 KB
実行使用メモリ 55,916 KB
最終ジャッジ日時 2023-09-14 08:25:32
合計ジャッジ時間 5,628 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 121 ms
55,592 KB
testcase_01 AC 127 ms
55,664 KB
testcase_02 AC 120 ms
55,540 KB
testcase_03 AC 120 ms
55,572 KB
testcase_04 AC 124 ms
55,708 KB
testcase_05 AC 123 ms
55,784 KB
testcase_06 AC 126 ms
55,576 KB
testcase_07 AC 124 ms
55,916 KB
testcase_08 AC 122 ms
53,292 KB
testcase_09 AC 123 ms
55,700 KB
testcase_10 AC 122 ms
55,328 KB
testcase_11 AC 121 ms
55,908 KB
testcase_12 AC 121 ms
55,612 KB
testcase_13 AC 124 ms
55,408 KB
testcase_14 AC 121 ms
55,636 KB
testcase_15 AC 123 ms
55,812 KB
testcase_16 AC 121 ms
53,832 KB
testcase_17 AC 121 ms
55,560 KB
testcase_18 AC 121 ms
55,664 KB
testcase_19 AC 120 ms
55,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        if (n >= 10 && n <= 99){
            System.out.print("Yes");
        } else {
            System.out.print("No");
        }

    }
}
0