結果

問題 No.304 鍵(1)
ユーザー hum_ophum_op
提出日時 2016-04-11 21:34:15
言語 F#
(F# 4.0)
結果
AC  
実行時間 146 ms / 2,000 ms
コード長 217 bytes
コンパイル時間 4,547 ms
コンパイル使用メモリ 160,852 KB
実行使用メモリ 41,124 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 23:46:53
合計ジャッジ時間 5,980 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 92 ms
37,180 KB
testcase_01 AC 94 ms
40,484 KB
testcase_02 AC 146 ms
38,928 KB
testcase_03 AC 97 ms
38,960 KB
testcase_04 AC 117 ms
38,564 KB
testcase_05 AC 97 ms
41,124 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System

let rec No304 (n:int) =
    if n = 0 then
        printfn "%03d" n
        No304 (n+1)
    elif Console.ReadLine() = "locked" then
        printfn "%03d" n
        No304 (n+1)
    else
        ()

No304 0
0