Accepted
Code
#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b,c,d,e,f;
cin>>a>>b>>c>>d>>e>>f;
cout<<(b-a*c==e-d*f?"Draw":(b-a*c>e-d*f?"Alice":"Bob"));
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1177 Remainder Game
- Contest
- Intra LU IEEE Beginner Programming Contest
- Language
- C++17 (G++ 13.2.0)
- Submit At
- 2025-02-26 05:53:20
- Judged At
- 2025-02-26 05:53:20
- Judged By
- Score
- 100
- Total Time
- 1ms
- Peak Memory
- 532.0 KiB