結果

問題 No.1591 Two Digits
ユーザー ks2mks2m
提出日時 2021-07-09 21:24:12
言語 Java21
(openjdk 21)
結果
AC  
実行時間 139 ms / 1,000 ms
コード長 288 bytes
コンパイル時間 5,156 ms
コンパイル使用メモリ 70,976 KB
実行使用メモリ 55,972 KB
最終ジャッジ日時 2023-09-14 07:33:31
合計ジャッジ時間 5,635 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 132 ms
55,652 KB
testcase_01 AC 139 ms
55,384 KB
testcase_02 AC 138 ms
55,620 KB
testcase_03 AC 128 ms
55,620 KB
testcase_04 AC 132 ms
55,740 KB
testcase_05 AC 135 ms
55,716 KB
testcase_06 AC 135 ms
55,392 KB
testcase_07 AC 130 ms
55,624 KB
testcase_08 AC 130 ms
55,340 KB
testcase_09 AC 125 ms
55,564 KB
testcase_10 AC 124 ms
55,640 KB
testcase_11 AC 124 ms
55,720 KB
testcase_12 AC 123 ms
55,516 KB
testcase_13 AC 122 ms
55,812 KB
testcase_14 AC 121 ms
55,972 KB
testcase_15 AC 123 ms
55,632 KB
testcase_16 AC 121 ms
55,752 KB
testcase_17 AC 120 ms
55,564 KB
testcase_18 AC 122 ms
55,340 KB
testcase_19 AC 124 ms
55,580 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		sc.close();

		if (s.length() == 2) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}
0