結果

問題 No.304 鍵(1)
ユーザー hum_ophum_op
提出日時 2016-02-12 21:58:51
言語 F#
(F# 4.0)
結果
AC  
実行時間 137 ms / 2,000 ms
コード長 214 bytes
コンパイル時間 4,500 ms
コンパイル使用メモリ 158,400 KB
実行使用メモリ 40,676 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 23:11:14
合計ジャッジ時間 5,844 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
38,552 KB
testcase_01 AC 92 ms
38,692 KB
testcase_02 AC 137 ms
40,676 KB
testcase_03 AC 92 ms
38,940 KB
testcase_04 AC 114 ms
38,736 KB
testcase_05 AC 94 ms
39,240 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Microsoft (R) F# Compiler version 11.0.0.0 for F# 5.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

ソースコード

diff #

open System
    
[<EntryPoint>]
let main args =    
    let mutable num = 0
    
    printfn "%03d" num
    
    while Console.ReadLine() = "locked" do
        num <- num+1
        printfn "%03d" num
    done
    0
0