#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;
int z;
z=max(max(a,b),max(c,d));
printf("a,b,c,dのうち、最大の数は%dである",z
); return 0;
}
//max関数の定義
int max(int x, int y){
//ここ↓を埋めてね3
int m;
m=x;
if(x<y){
m=y;
}
return m;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Ci8v6Zai5pWw44Gu44OX44Ot44OI44K/44Kk44OX5a6j6KiACi8v44GT44GT4oaT44KS5Z+L44KB44Gm44Gt77yRCmludCBtYXgoaW50LGludCk7Ci8vbWFpbumWouaVsAppbnQgbWFpbih2b2lkKSB7CiAgICBpbnQgYSxiLGMsZDsKLy/jgZPjgZPihpPjgpLln4vjgoHjgabjga3vvJIKICAgIGE9MTsKICAgIGI9NTsKICAgIGM9MzsKICAgIGQ9NDsKICAgIGludCB6OwogICAgej1tYXgobWF4KGEsYiksbWF4KGMsZCkpOwogIHByaW50ZigiYSxiLGMsZOOBruOBhuOBoeOAgeacgOWkp+OBruaVsOOBryVk44Gn44GC44KLIix6KTsKCXJldHVybiAwOwp9CgovL21heOmWouaVsOOBruWumue+qQppbnQgbWF4KGludCB4LCBpbnQgeSl7Ci8v44GT44GT4oaT44KS5Z+L44KB44Gm44Gt77yTCmludCBtOwogIG09eDsKaWYoeDx5KXsKbT15Owp9CnJldHVybiBtOwp9CgoK