結果
| 問題 | No.682 Average |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-06-03 14:23:40 |
| 言語 | F# (F# 10.0) |
| 結果 |
AC
|
| 実行時間 | 209 ms / 2,000 ms |
| コード長 | 204 bytes |
| 記録 | |
| コンパイル時間 | 5,134 ms |
| コンパイル使用メモリ | 203,816 KB |
| 実行使用メモリ | 36,880 KB |
| 最終ジャッジ日時 | 2026-03-20 05:42:18 |
| 合計ジャッジ時間 | 8,761 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (170 ミリ秒)。 main -> /home/judge/data/code/bin/Release/net10.0/main.dll main -> /home/judge/data/code/bin/Release/net10.0/publish/
ソースコード
let a, b = stdin.ReadLine().Split() |> (fun x -> int x.[0], int x.[1])
let rec hoge x =
if x > b then 0
elif (a + b + x) % 3 = 0 then 1 + (hoge (x + 1))
else hoge (x + 1)
printfn "%d" (hoge a)