# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
162363 | boolodifjenula | Akcija (COCI15_akcija) | Cpython 3 | 346 ms | 7856 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
n=int(input())
L=[int(input()) for i in range (n)]
L.sort()
L.reverse()
z=0
for i in range (n):
if i%3==2:
continue
else:
z+=L[i]
print(z)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |