Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75864 刘千亦 求最大值 C++ Wrong Answer 0 MS 264 KB 565 2024-05-31 20:17:49

Tests(0/1):


Code:

#include<iostream> using namespace std; int main (){ int a,b,c,d,e,f,g,h,i,j; cin >>a>>b>>c>>d>>e>>f>>g>>h>>i>>j; if(a>b>c>d>e>f>g>h>i>j){ cout<<a; } if(b>a>c>d>e>f>g>h>i>j){ cout<<b; } if(c>a>b>d>e>f>g>h>i>j){ cout<<c; } if(d>a>b>c>e>f>g>h>i>j){ cout<<d; } if(e>a>b>c>d>f>g>h>i>j){ cout<<e; } if(f>a>b>c>d>e>g>h>i>j){ cout<<f; } if(g>a>b>c>d>e>f>h>i>j){ cout<<g; } if(h>a>b>c>d>e>f>g>i>j){ cout<<h; } if(i>a>b>c>d>e>f>g>h>j){ cout<<i; } if(j>a>b>c>d>e>f>g>h>i){ cout<<j; } }


Run Info:

------Input------
99 12 235 23 346 423 31612 4389 934 37
------Answer-----
31612
------Your output-----