結果

問題 No.1592 Tenkei 90
ユーザー OohMajestic!OohMajestic!
提出日時 2021-07-09 22:14:59
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 1,000 ms
コード長 275 bytes
コンパイル時間 315 ms
コンパイル使用メモリ 87,204 KB
実行使用メモリ 71,600 KB
最終ジャッジ日時 2023-09-14 09:27:40
合計ジャッジ時間 2,571 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,300 KB
testcase_01 AC 67 ms
71,396 KB
testcase_02 AC 67 ms
71,312 KB
testcase_03 AC 65 ms
71,272 KB
testcase_04 AC 67 ms
71,476 KB
testcase_05 AC 66 ms
71,440 KB
testcase_06 AC 65 ms
71,404 KB
testcase_07 AC 65 ms
71,580 KB
testcase_08 AC 65 ms
71,296 KB
testcase_09 AC 65 ms
71,440 KB
testcase_10 AC 65 ms
71,384 KB
testcase_11 AC 64 ms
71,440 KB
testcase_12 AC 65 ms
71,328 KB
testcase_13 AC 65 ms
71,408 KB
testcase_14 AC 68 ms
71,416 KB
testcase_15 AC 64 ms
71,556 KB
testcase_16 AC 64 ms
71,600 KB
testcase_17 AC 64 ms
71,344 KB
testcase_18 AC 67 ms
71,400 KB
testcase_19 AC 64 ms
71,312 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()

target = "kyoprotenkei90"
for i in range(len(S)):
    if (S[i] in target):
        idx = target.index(S[i])
        target = target[:idx]+target[idx+1:]
    else:
        print("No")
        exit()

if (len(target) == 0):
    print("Yes")
else:
    print("No")

0