Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
110360 冯瀚翔 08比较三个数的大小 C++ Wrong Answer 1 MS 272 KB 431 2025-02-17 19:27:06

Tests(1/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int x,y,z; cin>>x>>y>>z; if(x>y && x>z){ cout<<x; } if(z>y && x<z){ cout<<z; } else{ cout<<y; } return 0; }


Run Info:

------Input------
97 95 4
------Answer-----
97
------Your output-----
9795