Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
77851 只因你太美(Ikun 真爱粉) 求三个数的最大值 C++ Compile Error 0 MS 0 KB 321 2024-06-15 16:15:03

Tests(0/0):


Code:

#include <stdio.h> int main() { int t,n,a,b,c; cin>>a>>b>>c; if(a>=b&&a>=c){ cout<<a; return 0; } if(b>=a&&b>=c){ cout<<b; return 0; } if(c>=b&&c>=a){ cout<<c; return 0; } return 0; }


Run Info:

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