#include <stdio.h>
int max(int,int);
int main(void) {
// your code goes here
int a=1,b=5,c=8,d=4;
printf("%d,%d,%d,%d,のうち最大の値は%d",a
,b
,c
,d
,max
(max
(a
,b
),max
(c
,d
))); return 0;
}
int max(int x,int y){
return (x>y)?x:y;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYXgoaW50LGludCk7CgppbnQgbWFpbih2b2lkKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCglpbnQgYT0xLGI9NSxjPTgsZD00OwoJcHJpbnRmKCIlZCwlZCwlZCwlZCzjga7jgYbjgaHmnIDlpKfjga7lgKTjga8lZCIsYSxiLGMsZCxtYXgobWF4KGEsYiksbWF4KGMsZCkpKTsKCXJldHVybiAwOwp9CmludCBtYXgoaW50IHgsaW50IHkpewoJcmV0dXJuICh4PnkpP3g6eTsKfQoK