結果
問題 | No.586 ダブルブッキング |
ユーザー | Leonardone |
提出日時 | 2017-11-11 03:09:28 |
言語 | Haskell (9.8.2) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 343 bytes |
コンパイル時間 | 1,000 ms |
コンパイル使用メモリ | 159,076 KB |
実行使用メモリ | 7,696 KB |
最終ジャッジ日時 | 2023-08-16 06:23:17 |
合計ジャッジ時間 | 2,121 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
7,152 KB |
testcase_01 | AC | 3 ms
7,180 KB |
testcase_02 | AC | 3 ms
7,228 KB |
testcase_03 | AC | 3 ms
7,624 KB |
testcase_04 | AC | 2 ms
7,288 KB |
testcase_05 | AC | 3 ms
7,696 KB |
testcase_06 | AC | 3 ms
7,128 KB |
testcase_07 | AC | 2 ms
7,136 KB |
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.6.1/environments/default [1 of 2] Compiling Main ( Main.hs, Main.o ) [2 of 2] Linking a.out
ソースコード
-- yukicoder My Practice -- author: Leonardone @ NEETSDKASU main = interact $ show . foldl1 (*) . map sum . zipWith ($) [take 2, concat . map (foldl1 (((return . ((0:0:repeat 1) !!) . length) .) . filter . ((==) . head)) . replicate 2) . takeWhile (not . null) . flip (scanl (const . tail)) [0 ..] . drop 3] . replicate 2 . map read . lines