結果
| 問題 | No.1367 文字列門松 |
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2021-01-29 21:43:19 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 41 ms / 2,000 ms |
| コード長 | 176 bytes |
| 記録 | |
| コンパイル時間 | 212 ms |
| コンパイル使用メモリ | 82,560 KB |
| 実行使用メモリ | 52,352 KB |
| 最終ジャッジ日時 | 2024-06-27 07:56:21 |
| 合計ジャッジ時間 | 2,309 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
K = 'kadomatsu'
S = input()
index = 0
for i in range(len(K)):
if index<len(S) and K[i]==S[index]:
index+=1
if index==len(S):
print('Yes')
else:
print('No')
H20