This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
import sys
import math
T = int(sys.stdin.readline())
if T > 1:
N = [list(map(int, sys.stdin.readline().split())) for _ in range(T-1)]
else:
N = int(sys.stdin.readline())
thr=0.01
ai = [list(map(lambda x: (float(x) + math.ceil(float(x)* 0.1)), sys.stdin.readline().split())) for _ in range(T)]
total_sum = ["Case #"+ str(number+1) +": " + str(int(sum(sublist))) for number,sublist in enumerate(ai)]
for result in total_sum:
print(result)
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |