Accepted
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