結果
問題 |
No.8068 CTFっぽいの
|
ユーザー |
|
提出日時 | 2020-04-02 00:05:44 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 60 ms / 1,000 ms |
コード長 | 208 bytes |
コンパイル時間 | 14,555 ms |
コンパイル使用メモリ | 191,360 KB |
実行使用メモリ | 29,568 KB |
最終ジャッジ日時 | 2024-06-27 12:57:17 |
合計ジャッジ時間 | 17,190 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 WA * 1 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (554 ms)。 MSBuild のバージョン 17.9.6+a4ecab324 (.NET) main -> /home/judge/data/code/bin/Release/net8.0/main.dll main -> /home/judge/data/code/bin/Release/net8.0/publish/
ソースコード
let s = System.Console.ReadLine() let mutable ans = [0..s.Length-9] |> List.exists (fun i -> (s.[i..i+8] |> Set.ofSeq |> Set.count) = 9) System.Console.WriteLine(match ans with true -> "Yes" | false -> "No")