#include <stdio.h>
// 関数のプロトタイプ宣言
int max(int x, int y);
// main関数
int main(void) {
int a, b, c, d,e;
a=1;
b=3;
c=5;
d=8;
e= max(max(a, b), max(c, d));
return 0;
}
// max関数の定義
int max(int x, int y) {
return (x > y) ? x : y;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgovLyDplqLmlbDjga7jg5fjg63jg4jjgr/jgqTjg5flrqPoqIAKIGludCBtYXgoaW50IHgsIGludCB5KTsKCi8vIG1haW7plqLmlbAKaW50IG1haW4odm9pZCkgewogICAgaW50IGEsIGIsIGMsIGQsZTsgICAgCmE9MTsKYj0zOwpjPTU7CmQ9ODsKZT0gbWF4KG1heChhLCBiKSwgbWF4KGMsIGQpKTsKICAgIAogICAgcHJpbnRmKCLmnIDlpKflgKTjga8gJWQg44Gn44GZ44CCXG4iLGUpOwoKcmV0dXJuIDA7Cn0KCi8vIG1heOmWouaVsOOBruWumue+qQppbnQgbWF4KGludCB4LCBpbnQgeSkgewogICAgcmV0dXJuICh4ID4geSkgPyB4IDogeTsKfQo=