Wrong Answer
Code
#include<stdio.h>
int main() {
int a,b,c,d,e,f;
scanf("%d %d %d", &a, &b, &c);
scanf("%d %d %d", &d, &e, &f);
long long aP = b - (a*c);
long long bP = d - (e*f);
printf(" aP %d", aP);
printf(" bP %d", bP);
if (aP == bP){
printf("Draw");
}
else if (aP > bP) {
printf("Alice");
}
else {
printf("Bob");
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1177 Remainder Game
- Language
- C99 (GCC 13.2.0)
- Submit At
- 2025-07-12 11:39:35
- Judged At
- 2025-07-12 11:39:35
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 284.0 KiB