이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
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... |