# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
161845 | boolodifjenula | Tarifa (COCI16_tarifa) | Cpython 3 | 27 ms | 3556 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())
m=int(input())
n*=(m+1)
for i in range (m):
n-=int(input())
print(n)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |