Submission #6932856


Source Code Expand

Copy
member = int(input())
member_array = sorted(list(map(int, input().split())),reverse=True)
result = 0
count = 1

for i in range(member):
    result += member_array[count]
    count += 2

print(result)

Submission Info

Submission Time
Task A - AtCoder Group Contest
User anktime
Language Python3 (3.4.3)
Score 300
Code Size 208 Byte
Status
Exec Time 225 ms
Memory 39492 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 00_example_01.txt, 00_example_02.txt
All 300 / 300 00_example_01.txt, 00_example_02.txt, 01.txt, 02.txt, 03.txt, 04.txt, 05.txt, 06.txt, 07.txt, 08.txt, 09.txt, 10.txt
Case Name Status Exec Time Memory
00_example_01.txt 17 ms 2940 KB
00_example_02.txt 17 ms 2940 KB
01.txt 17 ms 2940 KB
02.txt 17 ms 2940 KB
03.txt 17 ms 2940 KB
04.txt 17 ms 2940 KB
05.txt 28 ms 4844 KB
06.txt 121 ms 39492 KB
07.txt 89 ms 8548 KB
08.txt 225 ms 33788 KB
09.txt 223 ms 33788 KB
10.txt 223 ms 32132 KB