Submission #6787607


Source Code Expand

Copy
import sys
input = sys.stdin.readline

N = int(input())
A = [int(x) for x in input().split()]
A.sort()
answer = sum(A[N::2])
print(answer)

Submission Info

Submission Time
Task A - AtCoder Group Contest
User maspy
Language Python3 (3.4.3)
Score 300
Code Size 145 Byte
Status
Exec Time 219 ms
Memory 37084 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 27 ms 4876 KB
06.txt 110 ms 37084 KB
07.txt 76 ms 8408 KB
08.txt 212 ms 32228 KB
09.txt 213 ms 32248 KB
10.txt 219 ms 32232 KB