結果

問題 No.46 はじめのn歩
ユーザー chikeplus
提出日時 2019-01-18 17:02:25
言語 F#
(F# 4.0)
結果
AC  
実行時間 288 ms / 5,000 ms
コード長 265 bytes
コンパイル時間 14,999 ms
コンパイル使用メモリ 194,484 KB
実行使用メモリ 36,060 KB
最終ジャッジ日時 2024-07-06 06:11:13
合計ジャッジ時間 11,502 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (412 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 args = [ for arg in System.Console.ReadLine().Split( ' ' ) -> arg ] : list<string>
let a = System.Int64.Parse( args.Item(0) )
let b = System.Int64.Parse( args.Item(1) )

printfn "%d" ((b / a) + if b % a = 0L then 0L else 1L)

System.Console.ReadLine() |> ignore
0