#include <stdio.h>
//関数のプロトタイプ宣言
//ここ↓を埋めてね1
int max(int,int);
//main関数
int main(void) {
int a,b,c,d;
//ここ↓を埋めてね2
a = 1;
b = 5;
c = 3;
d = 4;
printf("最大値は%d\n",max
(max
(a
,b
),max
(c
,d
))); return 0;
}
//max関数の定義
int max(int x, int y){
//ここ↓を埋めてね3
return (x>y) ? x:y;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Ci8v6Zai5pWw44Gu44OX44Ot44OI44K/44Kk44OX5a6j6KiACi8v44GT44GT4oaT44KS5Z+L44KB44Gm44Gt77yRCmludCBtYXgoaW50LGludCk7Ci8vbWFpbumWouaVsAppbnQgbWFpbih2b2lkKSB7CiAgICBpbnQgYSxiLGMsZDsKLy/jgZPjgZPihpPjgpLln4vjgoHjgabjga3vvJIKCSBhID0gMTsKCSBiID0gNTsKCSBjID0gMzsKCSBkID0gNDsKCXByaW50Zigi5pyA5aSn5YCk44GvJWRcbiIsbWF4KG1heChhLGIpLG1heChjLGQpKSk7CglyZXR1cm4gMDsKfQoKLy9tYXjplqLmlbDjga7lrprnvqkKaW50IG1heChpbnQgeCwgaW50IHkpewovL+OBk+OBk+KGk+OCkuWfi+OCgeOBpuOBre+8kwoJcmV0dXJuICh4PnkpID8geDp5OyAKfQoKCg==