Wrong Answer
Code
#include <stdio.h>
int main()
{
int x, a, b;
scanf("%d %d %d", &x, &a, &b);
if (a==b){
printf("mojo");
}
else if (abs(x-a) > abs(x-b)){
printf("3vai");
}
else {
printf("7vai");
}
}
Information
- Submit By
- Type
- Submission
- Problem
- P1179 7vai , 3vai or mojo ?
- Language
- C99 (GCC 13.2.0)
- Submit At
- 2025-07-11 19:00:57
- Judged At
- 2025-07-11 19:00:57
- Judged By
- Score
- 95
- Total Time
- 0ms
- Peak Memory
- 412.0 KiB