Submission #40808418
Source Code Expand
{-# LANGUAGE TypeApplications #-}
main :: IO ()
main = do
prd <- product . map (read @Int) . words <$> getLine
putStrLn $ if odd prd then "Odd" else "Even"
Submission Info
| Submission Time | |
|---|---|
| Task | ABC086A - Product |
| User | gksato |
| Language | Haskell (GHC 9.4.5) |
| Score | 100 |
| Code Size | 165 Byte |
| Status | AC |
| Exec Time | 37 ms |
| Memory | 7756 KiB |
Compile Error
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.
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| 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 |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 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 |