QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#523961 | #8768. Arrested Development | wuxman57 | RE | 0ms | 0kb | Python3 | 143b | 2024-08-19 02:50:45 | 2024-08-19 02:50:45 |
answer
n = int(input())
ans = 0
for x in range(1, n):
line = [int(i) for i in iput().split(" ")]
ans += min(line[0], line[1])
print(ans)
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 0
Dangerous Syscalls
input:
4 100 1 1 90 1 20 1 20