結果
| 問題 |
No.1367 文字列門松
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-01-18 23:49:22 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 2,000 ms |
| コード長 | 175 bytes |
| コンパイル時間 | 313 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-11-23 13:37:31 |
| 合計ジャッジ時間 | 1,993 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
s=input()
l=list('kadomatsu')
for i in range(len(s)):
if s[i] in l:
ind=l.index(s[i])
l=l[ind+1:]
else:
print('No')
exit()
print('Yes')