提出 #40808418


ソースコード 拡げる

{-# LANGUAGE TypeApplications #-}

main :: IO ()
main = do
  prd <- product . map (read @Int) . words <$> getLine
  putStrLn $ if odd prd then "Odd" else "Even"

提出情報

提出日時
問題 ABC086A - Product
ユーザ gksato
言語 Haskell (GHC 9.4.5)
得点 100
コード長 165 Byte
結果 AC
実行時間 37 ms
メモリ 7756 KiB

コンパイルエラー

Warning: The package list for 'hackage.haskell.org' is 16 days old.
Run 'cabal update' to get the latest list of available packages.
Warning: The package list for 'hackage.haskell.org' is 16 days old.
Run 'cabal update' to get the latest list of available packages.
Warning: The directory
/home/runner/.cabal/store/ghc-9.4.4/incoming/new-2/home/runner/.cabal/store/ghc-9.4.4/submission-0.1.0.0-e-main-65f18b2df59be1b1a37cc9cf6a1a6fef2ceea8c33303cd81c9373b649724db38/bin
is not in the system search path.

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 7
セット名 テストケース
Sample 0_000.txt, 0_001.txt
All 0_000.txt, 0_001.txt, 1_002.txt, 1_003.txt, 1_004.txt, 1_005.txt, 1_006.txt
ケース名 結果 実行時間 メモリ
0_000.txt AC 5 ms 7684 KiB
0_001.txt AC 22 ms 7756 KiB
1_002.txt AC 5 ms 7648 KiB
1_003.txt AC 32 ms 7552 KiB
1_004.txt AC 29 ms 7756 KiB
1_005.txt AC 37 ms 7552 KiB
1_006.txt AC 27 ms 7724 KiB