結果
| 問題 | No.443 GCD of Permutation |
| コンテスト | |
| ユーザー |
Ysmr_Ry
|
| 提出日時 | 2016-11-17 00:54:48 |
| 言語 | Haskell (9.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 135 bytes |
| 記録 | |
| コンパイル時間 | 1,251 ms |
| コンパイル使用メモリ | 192,256 KB |
| 実行使用メモリ | 11,264 KB |
| 最終ジャッジ日時 | 2026-05-20 14:39:54 |
| 合計ジャッジ時間 | 5,781 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 10 TLE * 1 -- * 17 |
コンパイルメッセージ
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
ソースコード
import Data.List(permutations) main :: IO () main = do n <- getLine print $ foldl gcd 0 $ (map read $ permutations n :: [Integer])
Ysmr_Ry