Submission #1521059
Source Code Expand
main = do [a, b, h] <- map read . words <$> getContents print $ h `div` 2 * (a + b)
Submission Info
Submission Time | |
---|---|
Task | A - Trapezoids |
User | Gash788 |
Language | Haskell (GHC 7.10.3) |
Score | 100 |
Code Size | 90 Byte |
Status | AC |
Exec Time | 2 ms |
Memory | 508 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt |
All | 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, sample_01.txt, sample_02.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
01.txt | AC | 2 ms | 508 KB |
02.txt | AC | 2 ms | 508 KB |
03.txt | AC | 2 ms | 508 KB |
04.txt | AC | 2 ms | 508 KB |
05.txt | AC | 2 ms | 508 KB |
sample_01.txt | AC | 2 ms | 380 KB |
sample_02.txt | AC | 2 ms | 508 KB |