結果
| 問題 | No.1367 文字列門松 |
| コンテスト | |
| ユーザー |
kou_kkk
|
| 提出日時 | 2026-08-29 11:41:30 |
| 言語 | F# (F# 10.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 49 ms / 2,000 ms |
| + 681µs | |
| コード長 | 270 bytes |
| 記録 | |
| コンパイル時間 | 12,017 ms |
| コンパイル使用メモリ | 205,224 KB |
| 実行使用メモリ | 32,256 KB |
| 最終ジャッジ日時 | 2026-08-29 11:41:47 |
| 合計ジャッジ時間 | 14,858 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 27 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (210 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
let w = "kadomatsu"
let s = stdin.ReadLine()
let mutable i = 0
let mutable flg = false
for c in w do
if not flg then
if c = s.[i] then
i <- i + 1
if i >= s.Length then
flg <- true
if flg then
"Yes"
else
"No"
|> printfn "%s"
kou_kkk