結果
| 問題 |
No.1367 文字列門松
|
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2021-01-29 21:28:50 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 2,000 ms |
| コード長 | 189 bytes |
| コンパイル時間 | 156 ms |
| コンパイル使用メモリ | 82,664 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2024-06-27 07:36:29 |
| 合計ジャッジ時間 | 2,046 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
t = "kadomatsu"
tlen = len(t)
i = 0
for c in input():
while i < tlen and t[i] != c:
i += 1
if i == tlen:
print('No')
break
i += 1
else:
print('Yes')
Kude