/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 14ms 2.891 MiB
#2 Accepted 17ms 3.027 MiB
#3 Accepted 17ms 3.062 MiB
#4 Accepted 14ms 2.879 MiB
#5 Accepted 14ms 3.062 MiB
#6 Accepted 33ms 3.066 MiB
#7 Accepted 24ms 3.008 MiB
#8 Accepted 13ms 2.93 MiB
#9 Accepted 31ms 2.992 MiB
#10 Accepted 14ms 2.875 MiB
#11 Accepted 15ms 3.121 MiB
#12 Accepted 18ms 3.094 MiB
#13 Accepted 19ms 3.02 MiB
#14 Accepted 19ms 3.086 MiB
#15 Accepted 37ms 3.109 MiB

Code

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

Information

Submit By
Type
Submission
Problem
P1177 Remainder Game
Contest
Intra LU IEEE Beginner Programming Contest
Language
Python 3 (Python 3.12.3)
Submit At
2025-02-26 06:37:14
Judged At
2025-02-26 06:37:14
Judged By
Score
100
Total Time
37ms
Peak Memory
3.121 MiB