結果
| 問題 | No.1367 文字列門松 |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-01-30 08:26:05 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 62 ms / 2,000 ms |
| + 135µs | |
| コード長 | 128 bytes |
| 記録 | |
| コンパイル時間 | 219 ms |
| コンパイル使用メモリ | 96,104 KB |
| 実行使用メモリ | 78,976 KB |
| 最終ジャッジ日時 | 2026-07-31 09:06:23 |
| 合計ジャッジ時間 | 3,360 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
t = "kadomatsu"
s = input()
i = 0
for c in s:
i = t.find(c,i)+1
if i==0:
print("No")
exit()
print("Yes")
convexineq