Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
160157 曾钰涵 13求7个数的最大值 C++ Compile Error 0 MS 0 KB 208 2026-09-12 15:44:51

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int max=0; for(int i=0;i<7;i++){ cin>>x; if(max<x){ max=x; } } cout<<m2<<m3; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:14: error: 'x' was not declared in this scope
         cin>>x;
              ^
Main.cc:11:11: error: 'm2' was not declared in this scope
     cout<