Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138630 向运淇 08比较三个数的大小 C++ Compile Error 0 MS 0 KB 178 2025-11-29 11:31:14

Tests(0/0):


Code:

#include<iostream> using namespase std; int x,y,z; cin>>x>>y>>z; if(x>=y&&x>=z){ cout<<x<<endl; if(y>=x&&y>=z); cout<<y<<endl; if(z>=x&&>=y); cout<<z<<endl; }


Run Info:

Main.cc:2:7: error: expected nested-name-specifier before 'namespase'
 using namespase std;
       ^
Main.cc:4:1: error: 'cin' does not name a type
 cin>>x>>y>>z;
 ^
Main.cc:5:1: error: expected unqualified-id before 'if'
 if(x>=y&&x>=z){
 ^