Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
95754 周琨智 08比较三个数的大小 C++ Compile Error 0 MS 0 KB 174 2024-11-02 10:42:46

Tests(0/0):


Code:

int main(){ int a,b,c,d; cin>>a; cin>>b; cin>>c; if(a>b){ d=a; } else if(b>a){ d=b; } if(c>a){ d=c; } cout<<d; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:3:5: error: 'cin' was not declared in this scope
     cin>>a;
     ^
Main.cc:16:3: error: 'cout' was not declared in this scope
   cout<