結果

問題 No.1592 Tenkei 90
ユーザー ks2mks2m
提出日時 2021-07-09 21:26:25
言語 Java19
(openjdk 21)
結果
AC  
実行時間 121 ms / 1,000 ms
コード長 372 bytes
コンパイル時間 1,696 ms
コンパイル使用メモリ 72,420 KB
実行使用メモリ 58,040 KB
最終ジャッジ日時 2023-09-14 07:42:34
合計ジャッジ時間 4,749 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 98 ms
55,796 KB
testcase_01 AC 98 ms
55,840 KB
testcase_02 AC 97 ms
56,256 KB
testcase_03 AC 100 ms
56,016 KB
testcase_04 AC 98 ms
55,892 KB
testcase_05 AC 97 ms
56,304 KB
testcase_06 AC 105 ms
58,040 KB
testcase_07 AC 107 ms
55,900 KB
testcase_08 AC 108 ms
55,932 KB
testcase_09 AC 108 ms
55,636 KB
testcase_10 AC 107 ms
55,892 KB
testcase_11 AC 103 ms
55,732 KB
testcase_12 AC 102 ms
56,000 KB
testcase_13 AC 121 ms
55,512 KB
testcase_14 AC 107 ms
55,900 KB
testcase_15 AC 107 ms
55,704 KB
testcase_16 AC 109 ms
55,636 KB
testcase_17 AC 107 ms
55,772 KB
testcase_18 AC 110 ms
55,604 KB
testcase_19 AC 103 ms
56,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Arrays;
import java.util.Scanner;

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

		Arrays.sort(s);
		if ("09eeikknooprty".equals(String.valueOf(s))) {
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}
}
0