Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
73709 荀逸萱 13求n个数的最小值 C++ Compile Error 0 MS 0 KB 214 2024-05-19 15:20:13

Tests(0/0):


Code:

# include<iostream> using namespace std. int main(){ int a,b; int min; cin>>a>>min; for(int i=2;i<=a;i++){ cin>>b; if(a<min){ min=b; } } cout<<min;


Run Info:

Main.cc:2:20: error: expected ';' before '.' token
 using namespace std.
                    ^
Main.cc:2:20: error: expected unqualified-id before '.' token