結果

問題 No.706 多眼生物の調査
ユーザー LeonardoneLeonardone
提出日時 2018-07-01 06:36:49
言語 Haskell
(9.8.2)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 267 bytes
コンパイル時間 6,897 ms
コンパイル使用メモリ 157,256 KB
実行使用メモリ 13,024 KB
最終ジャッジ日時 2023-09-13 16:30:35
合計ジャッジ時間 7,786 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,532 KB
testcase_01 AC 3 ms
7,252 KB
testcase_02 AC 3 ms
8,060 KB
testcase_03 AC 12 ms
11,224 KB
testcase_04 AC 22 ms
11,220 KB
testcase_05 AC 32 ms
13,024 KB
testcase_06 AC 62 ms
12,564 KB
testcase_07 AC 4 ms
8,044 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

ソースコード

diff #

-- yukicoder My Practice
-- author: Leonardone @ NEETSDKASU

main = interact $ show . snd . maximum . flip zip [0..] . foldl ((. (++ ((1+):repeat id)) . flip take (repeat id)) . zipWith (flip ($)))  (replicate 1001 0) . map (flip (-) 2) . map length . tail . lines


0