結果

問題 No.3068 CTFっぽいの
ユーザー pekempeypekempey
提出日時 2020-04-02 00:05:44
言語 F#
(.NET 7)
結果
AC  
実行時間 59 ms / 1,000 ms
コード長 208 bytes
コンパイル時間 4,592 ms
コンパイル使用メモリ 161,372 KB
実行使用メモリ 24,148 KB
最終ジャッジ日時 2023-09-09 20:24:10
合計ジャッジ時間 7,376 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 58 ms
24,016 KB
testcase_01 AC 58 ms
22,108 KB
testcase_02 AC 57 ms
22,068 KB
testcase_03 AC 59 ms
22,052 KB
testcase_04 AC 54 ms
22,088 KB
testcase_05 AC 58 ms
22,092 KB
testcase_06 AC 59 ms
22,092 KB
testcase_07 AC 58 ms
24,148 KB
testcase_08 AC 59 ms
22,272 KB
testcase_09 AC 58 ms
22,180 KB
testcase_10 AC 59 ms
24,088 KB
evil0 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

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")
0