結果
問題 | No.304 鍵(1) |
ユーザー | tak |
提出日時 | 2018-08-13 12:06:32 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 125 ms / 2,000 ms |
コード長 | 168 bytes |
コンパイル時間 | 3,931 ms |
コンパイル使用メモリ | 156,968 KB |
実行使用メモリ | 40,724 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2023-09-24 01:52:44 |
合計ジャッジ時間 | 5,405 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 93 ms
39,020 KB |
testcase_01 | AC | 93 ms
39,292 KB |
testcase_02 | AC | 125 ms
37,120 KB |
testcase_03 | AC | 94 ms
39,400 KB |
testcase_04 | AC | 112 ms
38,884 KB |
testcase_05 | AC | 92 ms
40,724 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(6,1): warning FS0020: The result of this expression has type 'string list' 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'.
ソースコード
let f (output:string) = stdout.WriteLine output let result = stdin.ReadLine() result = "locked" [0 .. 999] |> List.map(sprintf "%03d") |> List.takeWhile(f)