結果
| 問題 | No.500 階乗電卓 |
| コンテスト | |
| ユーザー |
aimy
|
| 提出日時 | 2017-04-24 10:02:30 |
| 言語 | Haskell (9.14.1) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 878µs | |
| コード長 | 138 bytes |
| 記録 | |
| コンパイル時間 | 776 ms |
| コンパイル使用メモリ | 198,016 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-07-29 14:18:21 |
| 合計ジャッジ時間 | 2,043 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.14.1/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
main = readLn >>= putStrLn . fcalc fcalc n | n >= 50 = "000000000000" | otherwise = reverse $ take 12 $ reverse $ show $ product [1..n]
aimy