結果

問題 No.63 ポッキーゲーム
ユーザー US18650US18650
提出日時 2017-05-14 04:34:55
言語 Haskell
(9.8.2)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 6,132 ms
コンパイル使用メモリ 156,372 KB
実行使用メモリ 7,152 KB
最終ジャッジ日時 2023-10-13 16:57:22
合計ジャッジ時間 3,220 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,920 KB
testcase_01 AC 3 ms
6,988 KB
testcase_02 AC 2 ms
6,920 KB
testcase_03 AC 2 ms
7,000 KB
testcase_04 WA -
testcase_05 AC 2 ms
7,080 KB
testcase_06 AC 3 ms
7,000 KB
testcase_07 AC 3 ms
7,028 KB
testcase_08 AC 2 ms
7,056 KB
testcase_09 AC 3 ms
7,024 KB
testcase_10 AC 3 ms
7,028 KB
testcase_11 AC 3 ms
6,976 KB
testcase_12 AC 3 ms
6,928 KB
testcase_13 WA -
testcase_14 AC 2 ms
7,000 KB
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 AC 3 ms
6,940 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 #

readDigits :: IO [Int]
readDigits = map read <$> words <$> getLine

main :: IO ()
main = do
    [l,k] <- readDigits
    putStrLn . show $ k * (l `div` (2*k))
0