#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,%d,%d,%dの4つの値のうち最大の値は%d",a
,b
,c
,d
,max
(max
(c
,d
),max
(a
,b
))); return 0;
}
//max関数の定義
int max(int x, int y){
//ここ↓を埋めてね3
return (x>y) ? x:y;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Ci8v6Zai5pWw44Gu44OX44Ot44OI44K/44Kk44OX5a6j6KiACi8v44GT44GT4oaT44KS5Z+L44KB44Gm44Gt77yRCmludCBtYXgoaW50LGludCk7Ci8vbWFpbumWouaVsAppbnQgbWFpbih2b2lkKSB7CiAgICBpbnQgYSxiLGMsZDsKLy/jgZPjgZPihpPjgpLln4vjgoHjgabjga3vvJIKICAgIGE9MTtiPTU7Yz0zO2Q9NDsKICAgIAogICAgcHJpbnRmKCIlZCwlZCwlZCwlZOOBrjTjgaTjga7lgKTjga7jgYbjgaHmnIDlpKfjga7lgKTjga8lZCIsYSxiLGMsZCxtYXgobWF4KGMsZCksbWF4KGEsYikpKTsKCXJldHVybiAwOwp9CgovL21heOmWouaVsOOBruWumue+qQppbnQgbWF4KGludCB4LCBpbnQgeSl7Ci8v44GT44GT4oaT44KS5Z+L44KB44Gm44Gt77yTCiByZXR1cm4gKHg+eSkgPyB4Onk7Cn0KCgo=