結果

問題 No.128 お年玉(1)
ユーザー regeregeregerege
提出日時 2016-06-18 23:56:12
言語 F#
(F# 4.0)
結果
AC  
実行時間 125 ms / 5,000 ms
コード長 136 bytes
コンパイル時間 8,576 ms
コンパイル使用メモリ 187,384 KB
実行使用メモリ 36,788 KB
最終ジャッジ日時 2024-04-08 18:47:35
合計ジャッジ時間 12,834 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 123 ms
36,660 KB
testcase_01 AC 120 ms
36,660 KB
testcase_02 AC 121 ms
36,660 KB
testcase_03 AC 120 ms
36,660 KB
testcase_04 AC 123 ms
36,660 KB
testcase_05 AC 121 ms
36,660 KB
testcase_06 AC 125 ms
36,660 KB
testcase_07 AC 123 ms
36,660 KB
testcase_08 AC 121 ms
36,660 KB
testcase_09 AC 124 ms
36,660 KB
testcase_10 AC 119 ms
36,660 KB
testcase_11 AC 122 ms
36,660 KB
testcase_12 AC 121 ms
36,660 KB
testcase_13 AC 120 ms
36,660 KB
testcase_14 AC 121 ms
36,660 KB
testcase_15 AC 122 ms
36,660 KB
testcase_16 AC 122 ms
36,660 KB
testcase_17 AC 119 ms
36,660 KB
testcase_18 AC 120 ms
36,660 KB
testcase_19 AC 119 ms
36,788 KB
testcase_20 AC 120 ms
36,660 KB
testcase_21 AC 120 ms
36,660 KB
testcase_22 AC 120 ms
36,660 KB
testcase_23 AC 119 ms
36,788 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (304 ms)。
MSBuild のバージョン 17.7.3+8ec440e68 (.NET)
  main -> /home/judge/data/code/bin/Release/net7.0/main.dll
  main -> /home/judge/data/code/bin/Release/net7.0/publish/

ソースコード

diff #

let N = stdin.ReadLine() |> bigint.Parse
let M = stdin.ReadLine() |> bigint.Parse
let s = N / M
let s2 = s - (s % 1000I)
printfn "%A" s2
0