結果

問題 No.1592 Tenkei 90
ユーザー reatoretchreatoretch
提出日時 2021-07-09 21:48:17
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 71 ms / 1,000 ms
コード長 249 bytes
コンパイル時間 751 ms
コンパイル使用メモリ 87,060 KB
実行使用メモリ 71,696 KB
最終ジャッジ日時 2023-09-14 08:27:09
合計ジャッジ時間 2,665 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,540 KB
testcase_01 AC 70 ms
71,512 KB
testcase_02 AC 69 ms
71,468 KB
testcase_03 AC 71 ms
71,556 KB
testcase_04 AC 70 ms
71,204 KB
testcase_05 AC 71 ms
71,468 KB
testcase_06 AC 70 ms
71,640 KB
testcase_07 AC 69 ms
71,464 KB
testcase_08 AC 70 ms
71,344 KB
testcase_09 AC 70 ms
71,256 KB
testcase_10 AC 70 ms
71,348 KB
testcase_11 AC 70 ms
71,696 KB
testcase_12 AC 70 ms
71,348 KB
testcase_13 AC 70 ms
71,256 KB
testcase_14 AC 70 ms
71,364 KB
testcase_15 AC 69 ms
71,568 KB
testcase_16 AC 71 ms
71,200 KB
testcase_17 AC 70 ms
71,356 KB
testcase_18 AC 69 ms
71,296 KB
testcase_19 AC 70 ms
71,308 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=input()
d={i:0 for i in set("kyoprotenkei90")}
d2={i:0 for i in set(S)}
for c in "kyoprotenkei90":
    d[c]+=1
for c in S:
    d2[c]+=1
for i,j in zip(sorted(d.items()),sorted(d2.items())):
    if tuple(i)!=tuple(j):print("No");exit()
print("Yes")
0