結果
| 問題 | No.1367 文字列門松 |
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2021-01-29 21:43:19 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 62 ms / 2,000 ms |
| + 225µs | |
| コード長 | 176 bytes |
| 記録 | |
| コンパイル時間 | 236 ms |
| コンパイル使用メモリ | 96,236 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-07-31 02:09:24 |
| 合計ジャッジ時間 | 3,502 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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