結果
問題 | No.1367 文字列門松 |
ユーザー | dango |
提出日時 | 2023-06-13 16:07:49 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 40 ms / 2,000 ms |
コード長 | 145 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 82,484 KB |
実行使用メモリ | 53,596 KB |
最終ジャッジ日時 | 2024-06-22 01:21:26 |
合計ジャッジ時間 | 2,410 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 27 |
ソースコード
S = input() I = 0 for c in S: if 'kadomatsu'.find(c, I) == -1: print('No') break I = 'kadomatsu'.find(c, I) + 1 else: print('Yes')