結果
| 問題 | No.1367 文字列門松 |
| コンテスト | |
| ユーザー |
ytft
|
| 提出日時 | 2022-03-23 00:22:26 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 40 ms / 2,000 ms |
| コード長 | 163 bytes |
| 記録 | |
| コンパイル時間 | 195 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2026-04-26 22:06:39 |
| 合計ジャッジ時間 | 2,727 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
ソースコード
import sys input=lambda:sys.stdin.readline().rstrip() S=input() ind=0 for i in 'kadomatsu': if ind<len(S) and S[ind]==i: ind+=1 print(['No','Yes'][ind==len(S)])
ytft