运行 ID: 6287

Main.cc:3:5: error: cannot declare ‘::main’ to be a global variable
 int main {
     ^~~~
Main.cc:4:5: error: expected primary-expression before ‘int’
     int a=10,b=29,c=34;
     ^~~
Main.cc:4:5: error: expected ‘}’ before ‘int’
Main.cc:3:10: note: to match this ‘{’
 int main {
          ^
Main.cc:5:5: error: ‘cin’ does not name a type; did you mean ‘main’?
     cin >> a;
     ^~~
     main
Main.cc:6:5: error: ‘cin’ does not name a type; did you mean ‘main’?
     cin >> b;
     ^~~
     main
Main.cc:7:5: error: ‘cin’ does not name a type; did you mean ‘main’?
     cin >> c;
     ^~~
     main
Main.cc:8:5: error: expected unqualified-id before ‘if’
     if (c>b>a){
     ^~
Main.cc:11:5: error: expected unqualified-id before ‘return’
     return 0;
     ^~~~~~
Main.cc:12:1: error: expected declaration before ‘}’ token
 }
 ^