Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
60940 石依灵 08比较三个数的大小 C++ Accepted 1 MS 272 KB 276 2023-11-25 14:48:25

Tests(10/10):


Code:

# include<iostream> # include<cstdio> using namespace std; int main(){ double a,b,c,s; cin>>a>>b>>c; if(a>=b){ s=a; } else{ s=b; } if(c>=s){ cout<<c; } else{ cout<<s; } return 0; }