Created
February 28, 2015 14:02
-
-
Save ik11235/f1f1f2f70edbd5894355 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
int main(int argc, char *argv[]) | |
{ | |
int a[3]; | |
cin>>a[0]>>a[1]>>a[2]; | |
sort(a,a+3); | |
cout<<a[1]<<endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment