QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#523963 | #8768. Arrested Development | wuxman57 | WA | 15ms | 10744kb | Python3 | 144b | 2024-08-19 02:52:35 | 2024-08-19 02:52:35 |
Judging History
answer
n = int(input())
ans = 0
for x in range(1, n):
line = [int(i) for i in input().split(" ")]
ans += min(line[0], line[1])
print(ans)
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 15ms
memory: 10632kb
input:
4 100 1 1 90 1 20 1 20
output:
3
result:
ok single line: '3'
Test #2:
score: -100
Wrong Answer
time: 10ms
memory: 10744kb
input:
2 314 1 592 6
output:
1
result:
wrong answer 1st lines differ - expected: '7', found: '1'