Wrong Answer
Code
#include<iostream>
using namespace std;
int main()
{
int a,b,c,d,e,f,g,h,i,j,k,l;
cin>>a>>b>>c;
cin>>d>>e>>f;
g=a%3;
h=b%3;
i=c%3;
j=d%3;
k=e%3;
l=f%3;
if(g>j || g>k || g>l ||h>j || h>k || h>l||i>j || i>>k || i>>l)
{
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:13:57
- Judged At
- 2025-02-26 06:13:57
- Judged By
- Score
- 20
- Total Time
- 1ms
- Peak Memory
- 532.0 KiB