/ SeriousOJ /

Record Detail

Accepted


  
# Status Time Cost Memory Cost
#1 Accepted 2ms 284.0 KiB

Code

#include<stdio.h>

int main(){
	int x, a, b;
	scanf("%d %d %d", &x, &a,&b);
	int disl= x-a;
	int diss= x-b;
	if(disl>diss)
	{
		printf("7vai");


	} else if(diss>disl)
	{
		printf("3vai");
	}else{
		printf("mojo");
	}




    return 0;

}

Information

Submit By
Type
Pretest
Problem
P1179 7vai , 3vai or mojo ?
Language
C99 (GCC 13.2.0)
Submit At
2025-02-26 07:03:46
Judged At
2025-02-26 07:03:46
Judged By
Score
10
Total Time
2ms
Peak Memory
284.0 KiB