Run ID Author Problem Lang Verdict Score Time Memory Code Length Submit Time
125223 吴松韬 最大值 C++ Accepted 100 0 MS 248 KB 239 2024-01-23 16:35:30

Tests(2/2):


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


Judgement Protocol: