Blame view

P73231_en/S001-AC.cc 248 Bytes
Imanol-Mikel Barba Sabariego authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <iostream>
#include <cmath>
#include <iomanip>

using namespace std;

int max2(int a, int b)
{
	if(a>b)
	{
		return a;
	}
	return b;
}

int max4(int a, int b, int c, int d)
{
	return max2(max2(max2(a,b),c),d);
}

int main()
{
	return 0;
}