Submission details
Task:Golf
Sender:Very Competitive Programmers
Submission time:2025-11-08 12:52:02 +0200
Language:Python3 (CPython3)
Status:READY
Result:
Test results
testverdicttime
#10.02 sdetails
#20.02 sdetails
#30.02 sdetails
#40.02 sdetails
#50.02 sdetails
#60.02 sdetails

Code

X = input()
U = list(map(int, input().split()))
M = list(map(int, input().split()))

print(U)
print(M)

U = sum(U)
M = sum(M)

if U < M:
    print("Uolevi")
elif M > U:
    print("Maija")
else:
    print("Tie")

Test details

Test 1

Verdict:

input
 159 168 193 218 170 221 158 2...

correct output
Tie

user output
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1,...

Feedback: Output is longer than expected

Test 2

Verdict:

input
 133 249 194 236  50  75 110 2...

correct output
Uolevi

user output
[3, 6, 2, 1, 4, 3, 0, 2, 6, 0,...

Feedback: Output is longer than expected

Test 3

Verdict:

input
 137  87  55 236 159 239 137 1...

correct output
Maija

user output
[0, 4, 4, 6, 3, 4, -1, 2, 3, 3...

Feedback: Output is longer than expected

Test 4

Verdict:

input
  555   80  711  842  298  130...

correct output
Tie

user output
[-1, 1, -2, -2, 0, 1, -1, -1, ...

Feedback: Output is longer than expected

Test 5

Verdict:

input
  968  902  552  181  973  857...

correct output
Maija

user output
[-1, 1, 3, -2, -4, 0, 3, -2, 4...

Feedback: Output is longer than expected

Test 6

Verdict:

input
  229   64  872  833  214  370...

correct output
Uolevi

user output
[-1, 6, -5, 1, 5, 5, -1, -3, -...

Feedback: Output is longer than expected