Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155089 王艺博 08比较三个数大小II C++ Accepted 1 MS 276 KB 434 2026-05-31 14:17:28

Tests(10/10):


Code:

#include<bits/stdc++.h> #define ll long long #define M 100005 #define f(a,b) for(int i = a;i<b;i++) using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a<b and a<c){ cout<<a; } if(b<c and b<a){ cout<<b; } if(c <a and c<b ){ cout<<c; } /**if(a<b){ if(a<c){ cout<<a; }else{ cout<<c; } }if(b<a){ if(b<c){ cout<<b; }else{ cout<<c; } }**/ return 0; }