← Back to List

10817번: 세 수 ↗

Solutions

C++14
145 B | 145 chars
#include <iostream>
#include <algorithm>
using namespace std;
int a[3];
int main()
{
	for(int x=0;x<3;x++)cin>>a[x];
	sort(a,a+3);
	cout<<a[1];
}