Wrong Answer
Code
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c,d,e,f;
cin>>a>>b>>c;
cin>>d>>e>>f;
long long int x= a*c;
long long int y= d*f;
long long int n= b-x;
long long int m= e-y;
if(n>m) cout<<"Alice"<<endl;
else cout<<"Bob"<<endl;
}
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 06:17:35
- Judged At
- 2025-02-26 06:17:35
- Judged By
- Score
- 95
- Total Time
- 1ms
- Peak Memory
- 680.0 KiB