結果

問題 No.1591 Two Digits
ユーザー merlinmerlin
提出日時 2021-07-09 21:20:52
言語 Java21
(openjdk 21)
結果
AC  
実行時間 40 ms / 1,000 ms
コード長 390 bytes
コンパイル時間 3,171 ms
コンパイル使用メモリ 71,488 KB
実行使用メモリ 33,616 KB
最終ジャッジ日時 2023-09-14 07:11:07
合計ジャッジ時間 4,425 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
33,132 KB
testcase_01 AC 40 ms
33,508 KB
testcase_02 AC 39 ms
33,160 KB
testcase_03 AC 40 ms
33,192 KB
testcase_04 AC 40 ms
33,224 KB
testcase_05 AC 40 ms
33,308 KB
testcase_06 AC 39 ms
33,220 KB
testcase_07 AC 40 ms
33,508 KB
testcase_08 AC 39 ms
33,616 KB
testcase_09 AC 38 ms
33,532 KB
testcase_10 AC 39 ms
33,512 KB
testcase_11 AC 38 ms
33,188 KB
testcase_12 AC 38 ms
33,128 KB
testcase_13 AC 39 ms
33,184 KB
testcase_14 AC 39 ms
33,192 KB
testcase_15 AC 39 ms
33,532 KB
testcase_16 AC 39 ms
33,220 KB
testcase_17 AC 39 ms
33,380 KB
testcase_18 AC 39 ms
33,176 KB
testcase_19 AC 40 ms
33,220 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.io.*;
import java.util.*;

class Main
{
    public static void main(String args[])throws Exception
    {
        BufferedReader bu=new BufferedReader(new InputStreamReader(System.in));
        StringBuilder sb=new StringBuilder();
        String s=bu.readLine();
        if(s.length()==2) sb.append("Yes\n");
        else sb.append("No\n");
        System.out.print(sb);
    }
}
0