結果

問題 No.304 鍵(1)
ユーザー ichibanshiboriichibanshibori
提出日時 2016-05-15 18:59:19
言語 F#
(F# 4.0)
結果
AC  
実行時間 168 ms / 2,000 ms
コード長 201 bytes
コンパイル時間 3,288 ms
コンパイル使用メモリ 162,064 KB
実行使用メモリ 41,320 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 23:53:00
合計ジャッジ時間 4,902 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
38,868 KB
testcase_01 AC 116 ms
41,320 KB
testcase_02 AC 168 ms
38,704 KB
testcase_03 AC 118 ms
38,412 KB
testcase_04 AC 140 ms
38,880 KB
testcase_05 AC 115 ms
39,152 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

/home/judge/data/code/Main.fs(7,1): warning FS0020: The result of this expression has type 'bool' and is implicitly ignored. Consider using 'ignore' to discard this value explicitly, e.g. 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = expr'.

ソースコード

diff #

let judge s =
    printfn "%s" s
    stdout.Flush ()
    let resp = stdin.ReadLine ()
    resp = "unlocked"
            
seq {for i in 0..999 -> System.String.Format ("{0:000}", i)} |> Seq.exists judge
0