結果

問題 No.47 ポケットを叩くとビスケットが2倍
ユーザー thglaflsthglafls
提出日時 2023-04-29 23:31:01
言語 F#
(F# 4.0)
結果
WA  
実行時間 -
コード長 130 bytes
コンパイル時間 10,902 ms
コンパイル使用メモリ 186,632 KB
実行使用メモリ 34,860 KB
最終ジャッジ日時 2024-04-29 12:41:20
合計ジャッジ時間 20,514 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 335 ms
34,852 KB
testcase_02 AC 336 ms
34,612 KB
testcase_03 AC 336 ms
34,356 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 335 ms
34,460 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 336 ms
34,580 KB
testcase_16 AC 338 ms
34,452 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 335 ms
34,476 KB
testcase_20 AC 336 ms
34,480 KB
testcase_21 AC 337 ms
34,352 KB
testcase_22 WA -
testcase_23 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (299 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

let rec calc n = if n <= 2 then 1 else 1 + calc (n / 2)

let main =
    let N = stdin.ReadLine() |> int
    printfn "%d" (calc N)
0