Submission #299705


Source Code Expand

import Control.Applicative ((<$>))

main :: IO ()
main = do
  [a, b] <- map read . words <$> getLine
  let x = max a b :: (Int)
  print x

Submission Info

Submission Time
Task A - 朝食
User yuuki
Language Haskell (GHC 7.4.1)
Score 100
Code Size 145 Byte
Status AC
Exec Time 30 ms
Memory 1432 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 14
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All large_01.txt, large_02.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, random_09.txt, random_10.txt, same_01.txt, same_02.txt
Case Name Status Exec Time Memory
large_01.txt AC 27 ms 1312 KiB
large_02.txt AC 25 ms 1312 KiB
random_01.txt AC 27 ms 1304 KiB
random_02.txt AC 24 ms 1304 KiB
random_03.txt AC 26 ms 1432 KiB
random_04.txt AC 27 ms 1308 KiB
random_05.txt AC 25 ms 1260 KiB
random_06.txt AC 26 ms 1308 KiB
random_07.txt AC 25 ms 1312 KiB
random_08.txt AC 25 ms 1264 KiB
random_09.txt AC 26 ms 1316 KiB
random_10.txt AC 26 ms 1264 KiB
same_01.txt AC 24 ms 1244 KiB
same_02.txt AC 30 ms 1324 KiB
sample_01.txt AC 25 ms 1312 KiB
sample_02.txt AC 26 ms 1256 KiB