Submission details
Task:Backpacking
Sender:aalto26am_034
Submission time:2026-08-31 16:25:55 +0300
Language:Python3 (PyPy3)
Status:READY
Result:
Test results
testverdicttime
#10.04 sdetails
#20.04 sdetails
#30.04 sdetails
#40.04 sdetails

Code

def backpacking() -> int:
    inp = input()
    inp = inp.split(" ")
    apples = int(inp[0])
    bananas = int(inp[0])

    print(apples + bananas)
    return apples + bananas


backpacking()

Test details

Test 1

Verdict:

input
3 5

correct output
8

user output
6

Feedback: Incorrect character on line 1 col 1: expected "8", got "6"

Test 2

Verdict:

input
571335 750047

correct output
1321382

user output
1142670

Feedback: Incorrect character on line 1 col 2: expected "1321382", got "1142670"

Test 3

Verdict:

input
744471 719178

correct output
1463649

user output
1488942

Feedback: Incorrect character on line 1 col 3: expected "1463649", got "1488942"

Test 4

Verdict:

input
308833 436123

correct output
744956

user output
617666

Feedback: Incorrect character on line 1 col 1: expected "744956", got "617666"