Accepted
Code
#include<iostream>
#include<algorithm>
#include<cmath>
#include<vector>
#include<set>
#define jidan ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
using namespace std;
int main (){
jidan;
int a,b,c;
cin>>a>>b>>c;
int d ,e ,f;
cin>>d>>e>>f;
if (b%a > e%d) cout<<"Alice";
else if (b%a < e%d) cout<<"Bob";
else cout<<"Draw";
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:51:09
- Judged At
- 2025-02-26 05:51:09
- Judged By
- Score
- 100
- Total Time
- 1ms
- Peak Memory
- 552.0 KiB