Submission #806304
Source Code Expand
N = int(input())
L = [int(t) for t in input().split(' ')]
L.sort()
print(sum([n for i, n in enumerate(L) if i & 1 == 0]))
Submission Info
| Submission Time | |
|---|---|
| Task | A - BBQ Easy |
| User | nununu |
| Language | Python (3.4.3) |
| Score | 200 |
| Code Size | 128 Byte |
| Status | AC |
| Exec Time | 1423 ms |
| Memory | 8536 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 200 / 200 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample-01.txt, sample-02.txt |
| All | sample-01.txt, sample-02.txt, 01-01.txt, 01-02.txt, 01-03.txt, 01-04.txt, 01-05.txt, 01-06.txt, 01-07.txt, 01-08.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01-01.txt | AC | 1423 ms | 8536 KiB |
| 01-02.txt | AC | 37 ms | 3064 KiB |
| 01-03.txt | AC | 37 ms | 3064 KiB |
| 01-04.txt | AC | 38 ms | 3064 KiB |
| 01-05.txt | AC | 38 ms | 3064 KiB |
| 01-06.txt | AC | 38 ms | 3064 KiB |
| 01-07.txt | AC | 38 ms | 3064 KiB |
| 01-08.txt | AC | 38 ms | 3064 KiB |
| sample-01.txt | AC | 38 ms | 3064 KiB |
| sample-02.txt | AC | 36 ms | 3064 KiB |