| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 138633 | 向运淇 | 08比较三个数的大小 | C++ | Compile Error | 0 MS | 0 KB | 182 | 2025-11-29 11:32:09 |
#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; }
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){
^
Main.cc:7:1: error: expected unqualified-id before 'if'
if(y>=x&&y>=z);{
^
Main.cc:7:16: error: expected unqualified-id before '{' token
if(y>=x&&y>=z);{
^
Main.cc:9:1: error: expected unqualified-id before 'if'
if(z>=x&&>=y);{
^
Main.cc:9:15: error: expected unqualified-id before '{' token
if(z>=x&&>=y);{
^