Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147524 于墨轩 08比较三个数的大小 C++ Compile Error 0 MS 0 KB 209 2026-02-05 22:20:29

Tests(0/0):


Code:

#include <iostream> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; if(a>b&&a>c){ cout<<a; }else{ if(b>c&&b>a){ cout<<b; }else{ cout<<c; } } } return 0; }


Run Info:

Main.cc:16:2: error: expected unqualified-id before 'return'
  return 0;
  ^
Main.cc:17:1: error: expected declaration before '}' token
 }
 ^