結果
問題 | No.311 z in FizzBuzzString |
ユーザー |
![]() |
提出日時 | 2015-12-06 00:02:47 |
言語 | Haskell (9.10.1) |
結果 |
AC
|
実行時間 | 3 ms / 1,500 ms |
コード長 | 403 bytes |
コンパイル時間 | 5,062 ms |
コンパイル使用メモリ | 205,912 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2025-02-07 08:47:32 |
合計ジャッジ時間 | 3,150 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.10.1/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
importControl.ApplicativeimportControl.MonadimportqualifiedData.ByteString.CharasBimportData.MaybefromJustimportText.PrintfimportDebug.Trace-- or readIntegerreadInts::BByteString->IntegerreadInts = map (fst . fromJust . B.readInteger) . B.wordsgetInts::IOIntegergetInts = liftM readInts B.getLinemain = do[n] <- getIntsprint $ 2 * (n `div` 3 + n `div` 5)