結果

問題 No.143 豆
ユーザー 34056915823405691582
提出日時 2017-01-18 22:19:03
言語 Haskell
(9.8.2)
結果
WA  
実行時間 -
コード長 141 bytes
コンパイル時間 841 ms
コンパイル使用メモリ 155,108 KB
実行使用メモリ 7,580 KB
最終ジャッジ日時 2023-08-24 17:09:12
合計ジャッジ時間 2,096 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 3 ms
7,164 KB
testcase_01 AC 3 ms
7,536 KB
testcase_02 AC 3 ms
7,204 KB
testcase_03 AC 3 ms
7,432 KB
testcase_04 AC 3 ms
7,356 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 AC 3 ms
7,476 KB
testcase_09 AC 3 ms
7,552 KB
testcase_10 AC 3 ms
7,348 KB
testcase_11 AC 3 ms
7,312 KB
testcase_12 AC 3 ms
7,304 KB
testcase_13 AC 3 ms
7,564 KB
testcase_14 AC 3 ms
7,552 KB
testcase_15 AC 3 ms
7,580 KB
testcase_16 AC 3 ms
7,116 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 #

import Data.Functor
main = do
  [k,n,_] <- map read . words <$> getLine
  s <- sum . map read . words <$> getLine
  putStrLn $ show $ k*n - s
0