Untitled

 avatar
unknown
c_cpp
a year ago
350 B
12
Indexable
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int tt, tc;

void solve() {
    vector<int> v(3);
    for (int& u : v) cin >> u;

    sort(v.begin(), v.end());

    cout << v[1] << "\n";
}

int main() {
    ios::sync_with_stdio(0); cin.tie(0);
    tt = 1, tc = 1; // cin >> tt;
    while (tt--) solve(), tc++;
}
Editor is loading...
Leave a Comment