Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
164842 冉骏杰 找最大的数 C++ Wrong Answer 1 MS 264 KB 450 2026-11-07 15:39:08

Tests(0/10):


Code:

#include<iostream> using namespace std; long long x[10],big,m = 1; double f; int main() { for(int i = 1; i<=5; i++) { cin>>x[i]; } if(x[1]<x[2]){ m = 2; } if(x[2]<x[3]){ m = 3; } if(x[4]<x[5]){ m = 4; } if(x[5]<x[6]){ m = 5; } if(x[6]<x[7]){ m = 6; } if(x[7]<x[8]){ m = 7; } if(x[8]<x[9]){ m = 8; } if(x[9]<x[10]){ m = 9; } if(x[10]<x[1]){ m = 1; } cout<<m; return 0 ; }


Run Info:

------Input------
540 810 559 973 744 226 261 427 615 615
------Answer-----
4
------Your output-----
1