/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 14ms 3.02 MiB
#2 Accepted 14ms 3.02 MiB
#3 Accepted 13ms 3.113 MiB
#4 Accepted 16ms 3.113 MiB
#5 Accepted 17ms 3.0 MiB
#6 Accepted 17ms 2.926 MiB
#7 Accepted 37ms 2.875 MiB
#8 Accepted 15ms 3.043 MiB
#9 Accepted 15ms 3.078 MiB
#10 Accepted 14ms 3.016 MiB
#11 Accepted 14ms 3.098 MiB
#12 Accepted 14ms 2.875 MiB
#13 Accepted 14ms 3.02 MiB
#14 Accepted 14ms 3.102 MiB
#15 Accepted 14ms 3.02 MiB

Code

a,b,c=map(int,input().split())
d,e,f=map(int,input().split())
if(b%a>e%d):
    print("Alice")
elif(e%d>b%a):
    print("Bob")
else:
    print("Draw")

Information

Submit By
Type
Submission
Problem
P1177 Remainder Game
Language
Python 3 (Python 3.12.3)
Submit At
2025-08-31 06:25:14
Judged At
2025-08-31 06:25:14
Judged By
Score
100
Total Time
37ms
Peak Memory
3.113 MiB