結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
aimy
|
| 提出日時 | 2017-07-01 07:03:09 |
| 言語 | Haskell (9.10.1) |
| 結果 |
CE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 277 bytes |
| コンパイル時間 | 371 ms |
| コンパイル使用メモリ | 150,744 KB |
| 最終ジャッジ日時 | 2024-11-14 20:05:35 |
| 合計ジャッジ時間 | 1,030 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.8.2/environments/default
[1 of 2] Compiling Main ( Main.hs, Main.o )
Main.hs:1:1: error: [GHC-87110]
Could not load module ‘Data.Set’.
It is a member of the hidden package ‘containers-0.6.8’.
Use -v to see a list of the files searched for.
|
1 | import qualified Data.Set as S
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ソースコード
import qualified Data.Set as S import Control.Monad snub = S.toList . S.fromList main = readLn >>= print . uid uid n = length $ snub $ concat $ do d <- [1 .. floor (sqrt (fromIntegral n))] let (q,r) = divMod n d guard (r == 0) return [show d ++ show q, show q ++ show d]
aimy