結果

問題 No.304 鍵(1)
ユーザー hum_ophum_op
提出日時 2016-04-11 21:35:34
言語 F#
(F# 4.0)
結果
AC  
実行時間 156 ms / 2,000 ms
コード長 161 bytes
コンパイル時間 3,192 ms
コンパイル使用メモリ 161,704 KB
実行使用メモリ 41,044 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 23:47:20
合計ジャッジ時間 4,819 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 106 ms
38,540 KB
testcase_01 AC 110 ms
41,044 KB
testcase_02 AC 156 ms
39,208 KB
testcase_03 AC 108 ms
40,916 KB
testcase_04 AC 134 ms
38,960 KB
testcase_05 AC 108 ms
38,660 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 || Console.ReadLine() = "locked" then
        printfn "%03d" n
        No304 (n+1)
    else
        ()

No304 0
0