Submission #5621224


Source Code Expand

Copy
N = int(input())
A = sorted(
  list(map(int,input().split())) )

print(sum([A[N-i*2-2] for i in range(N) ]))

Submission Info

Submission Time
Task A - AtCoder Group Contest
User natsuki_iwn
Language PyPy3 (2.4.0)
Score 0
Code Size 112 Byte
Status
Exec Time 326 ms
Memory 119776 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 00_example_01.txt, 00_example_02.txt
All 0 / 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 161 ms 38256 KB
00_example_02.txt 165 ms 38256 KB
01.txt 161 ms 38256 KB
02.txt 161 ms 38256 KB
03.txt 162 ms 38256 KB
04.txt 161 ms 38256 KB
05.txt 189 ms 41720 KB
06.txt 326 ms 119776 KB
07.txt 234 ms 74452 KB
08.txt 320 ms 96416 KB
09.txt 319 ms 96184 KB
10.txt 318 ms 96184 KB