結果
問題 | No.1367 文字列門松 |
ユーザー | convexineq |
提出日時 | 2021-01-30 08:26:05 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 2,000 ms |
コード長 | 128 bytes |
コンパイル時間 | 140 ms |
コンパイル使用メモリ | 82,356 KB |
実行使用メモリ | 53,380 KB |
最終ジャッジ日時 | 2024-06-27 19:16:49 |
合計ジャッジ時間 | 2,127 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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")