結果

問題 No.549 素材合成システム
ユーザー aimyaimy
提出日時 2017-07-28 22:43:12
言語 Haskell
(9.8.2)
結果
AC  
実行時間 218 ms / 2,000 ms
コード長 191 bytes
コンパイル時間 1,771 ms
コンパイル使用メモリ 178,940 KB
実行使用メモリ 35,584 KB
最終ジャッジ日時 2024-04-18 10:19:56
合計ジャッジ時間 8,304 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
5,248 KB
testcase_01 AC 1 ms
5,248 KB
testcase_02 AC 1 ms
5,248 KB
testcase_03 AC 2 ms
5,376 KB
testcase_04 AC 2 ms
5,376 KB
testcase_05 AC 2 ms
5,376 KB
testcase_06 AC 2 ms
5,376 KB
testcase_07 AC 205 ms
31,488 KB
testcase_08 AC 198 ms
31,616 KB
testcase_09 AC 197 ms
31,488 KB
testcase_10 AC 204 ms
31,488 KB
testcase_11 AC 202 ms
31,488 KB
testcase_12 AC 205 ms
31,360 KB
testcase_13 AC 195 ms
31,488 KB
testcase_14 AC 204 ms
31,360 KB
testcase_15 AC 200 ms
31,360 KB
testcase_16 AC 203 ms
31,360 KB
testcase_17 AC 121 ms
18,048 KB
testcase_18 AC 94 ms
16,128 KB
testcase_19 AC 114 ms
18,048 KB
testcase_20 AC 115 ms
17,024 KB
testcase_21 AC 188 ms
33,536 KB
testcase_22 AC 216 ms
33,024 KB
testcase_23 AC 218 ms
35,584 KB
testcase_24 AC 202 ms
29,440 KB
testcase_25 AC 177 ms
27,520 KB
testcase_26 AC 203 ms
30,976 KB
testcase_27 AC 184 ms
27,520 KB
testcase_28 AC 1 ms
5,376 KB
testcase_29 AC 2 ms
5,376 KB
testcase_30 AC 2 ms
5,376 KB
testcase_31 AC 129 ms
18,176 KB
testcase_32 AC 127 ms
18,176 KB
testcase_33 AC 129 ms
18,048 KB
testcase_34 AC 130 ms
18,048 KB
testcase_35 AC 217 ms
35,584 KB
testcase_36 AC 134 ms
18,304 KB
testcase_37 AC 130 ms
18,176 KB
testcase_38 AC 2 ms
5,376 KB
testcase_39 AC 1 ms
5,376 KB
testcase_40 AC 113 ms
20,224 KB
testcase_41 AC 56 ms
14,080 KB
testcase_42 AC 8 ms
8,192 KB
testcase_43 AC 48 ms
12,032 KB
testcase_44 AC 18 ms
9,088 KB
testcase_45 AC 58 ms
13,184 KB
testcase_46 AC 35 ms
11,136 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Loaded package environment from /home/judge/.ghc/x86_64-linux-9.8.2/environments/default
[1 of 2] Compiling Main             ( Main.hs, Main.o )
[2 of 2] Linking a.out

ソースコード

diff #

import Data.List

main = do
  getLine
  xs <- map read . words <$> getLine
  print (gousei xs)

gousei xs = xmax + sum (map (`div` 2) xs1)
  where
   xmax = maximum xs
   xs1 = delete xmax xs
0