結果
問題 |
No.1367 文字列門松
|
ユーザー |
|
提出日時 | 2023-07-09 23:08:59 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 33 ms / 2,000 ms |
コード長 | 326 bytes |
コンパイル時間 | 212 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-23 20:42:40 |
合計ジャッジ時間 | 2,056 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 27 |
ソースコード
# verification-helper: PROBLEM https://yukicoder.me/problems/no/1367 def main() -> None: s = input() t = "kadomatsu" ind = 0 for i in range(9): if s[ind] == t[i]: ind += 1 if ind == len(s): exit(print("Yes")) print("No") if __name__ == "__main__": main()