Submission #7613781


Source Code Expand

Copy
n = int(input())
a = input().split()
a = [int(i) for i in a]
 
candidate = a[n:len(a)+1]
print(sum([candidate[i] for i in range(0, 2*n, 2)]))

Submission Info

Submission Time
Task A - AtCoder Group Contest
User lpis
Language Python3 (3.4.3)
Score 0
Code Size 146 Byte
Status
Exec Time 112 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 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 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 23 ms 4848 KB
06.txt 112 ms 39492 KB
07.txt 84 ms 8588 KB
08.txt 111 ms 33888 KB
09.txt 109 ms 33916 KB
10.txt 111 ms 32260 KB