Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145433 徐文雅 08比较三个数大小II C++ Accepted 1 MS 276 KB 327 2026-01-25 15:15:07

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a<b&&b<c) cout<<a<<endl; if(a<c&&c<b) cout<<a<<endl; if(b<a&&a<c) cout<<b<<endl; if(b<c&&c<a) cout<<b<<endl; if(c<a&&a<b) cout<<c<<endl; if(c<b&&b<a) cout<<c<<endl; return 0; }