結果
| 問題 | No.1592 Tenkei 90 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-08-28 21:30:46 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 16 ms / 1,000 ms |
| + 110µs | |
| コード長 | 315 bytes |
| 記録 | |
| コンパイル時間 | 48 ms |
| コンパイル使用メモリ | 14,720 KB |
| 実行使用メモリ | 10,240 KB |
| 最終ジャッジ日時 | 2026-11-01 23:57:58 |
| 合計ジャッジ時間 | 1,880 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 |
ソースコード
s="kyoprotenkei90"
dec=dict()
for i in s:
if i not in dec:dec[i]=1
else:dec[i]+=1
# print("AA;",dec)
ss=input()
for j in ss:
if j not in dec:
# print("j:",j)
print("No");exit()
else:
dec[j]-=1
# print("A:",dec[j],j)
if dec[j]<0:print("No");exit()
print("Yes")