Submission #2091835


Source Code Expand

Copy
N=gets.to_i
p gets.split.map(&:to_i).sort[N...2*N].inject :+

Submission Info

Submission Time
Task A - AtCoder Group Contest
User chabo
Language Ruby (2.3.3)
Score 0
Code Size 61 Byte
Status
Exec Time 182 ms
Memory 27492 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 7 ms 1788 KB
00_example_02.txt 7 ms 1788 KB
01.txt 7 ms 1788 KB
02.txt 7 ms 1788 KB
03.txt 7 ms 1788 KB
04.txt 7 ms 1788 KB
05.txt 18 ms 3192 KB
06.txt 160 ms 27492 KB
07.txt 129 ms 24804 KB
08.txt 182 ms 26064 KB
09.txt 181 ms 26064 KB
10.txt 182 ms 26064 KB