結果
問題 |
No.312 置換処理
|
ユーザー |
![]() |
提出日時 | 2016-04-16 23:24:31 |
言語 | F# (F# 4.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 283 bytes |
コンパイル時間 | 7,385 ms |
コンパイル使用メモリ | 188,312 KB |
実行使用メモリ | 49,572 KB |
最終ジャッジ日時 | 2024-10-04 10:21:00 |
合計ジャッジ時間 | 10,229 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 TLE * 1 -- * 43 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (238 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/
ソースコード
open System let No312 () = let N = Int64.Parse <| Console.ReadLine() let rec res i = if i < N then if N % i = 0L then i else res (i + 1L) else N printfn "%d" <| res 3L () No312 ()