Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
106269 胡海峰老师 求最大值 C++ Accepted 0 MS 272 KB 303 2025-01-15 20:39:42

Tests(1/1):


Code:

#include <iostream> using namespace std; int main(){ int i,x; i =1; int maxn=0; while(i<=10) { //做任务 cin>>x; if ( x> maxn) maxn =x ; i++; //跳到下一次 } cout<< maxn; return 0; }