22 lines
320 B
C
22 lines
320 B
C
#include<stdio.h>
|
|
|
|
int main()
|
|
{
|
|
int x = 0,y = 0;
|
|
while(1)
|
|
{
|
|
scanf("%d %d", &x , &y);
|
|
|
|
if(x > y)
|
|
printf("%d\n", x);
|
|
else if(x < y)
|
|
printf("%d\n", y);
|
|
else
|
|
{
|
|
printf("x = y\nexit\n");
|
|
break;
|
|
}
|
|
}
|
|
|
|
return 0;
|
|
} |