/in/foo.cc: In function 'int main()':
/in/foo.cc:6:1: error: expected primary-expression before '?' token
??? int a, b, c;
^
/in/foo.cc:6:2: error: expected primary-expression before '?' token
??? int a, b, c;
^
/in/foo.cc:6:3: error: expected primary-expression before '?' token
??? int a, b, c;
^
/in/foo.cc:6:5: error: expected primary-expression before 'int'
??? int a, b, c;
^~~
/in/foo.cc:6:5: error: expected ':' before 'int'
/in/foo.cc:6:5: error: expected primary-expression before 'int'
/in/foo.cc:6:5: error: expected ':' before 'int'
/in/foo.cc:6:5: error: expected primary-expression before 'int'
/in/foo.cc:6:5: error: expected ':' before 'int'
/in/foo.cc:6:5: error: expected primary-expression before 'int'
/in/foo.cc:7:1: error: expected primary-expression before '?' token
??? cin >> a >> b >> c;
^
/in/foo.cc:7:2: error: expected primary-expression before '?' token
??? cin >> a >> b >> c;
^
/in/foo.cc:7:3: error: expected primary-expression before '?' token
??? cin >> a >> b >> c;
^
/in/foo.cc:7:12: error: 'a' was not declared in this scope
??? cin >> a >> b >> c;
^
/in/foo.cc:7:17: error: 'b' was not declared in this scope
??? cin >> a >> b >> c;
^
/in/foo.cc:7:22: error: 'c' was not declared in this scope
??? cin >> a >> b >> c;
^
/in/foo.cc:7:23: error: expected ':' before ';' token
??? cin >> a >> b >> c;
^
/in/foo.cc:7:23: error: expected primary-expression before ';' token
/in/foo.cc:7:23: error: expected ':' before ';' token
/in/foo.cc:7:23: error: expected primary-expression before ';' token
/in/foo.cc:7:23: error: expected ':' before ';' token
/in/foo.cc:7:23: error: expected primary-expression before ';' token
/in/foo.cc:8:1: error: expected primary-expression before '?' token
??? if(a > b)swap(a, b);
^
/in/foo.cc:8:2: error: expected primary-expression before '?' token
??? if(a > b)swap(a, b);
^
/in/foo.cc:8:3: error: expected primary-expression before '?' token
??? if(a > b)swap(a, b);
^
/in/foo.cc:8:5: error: expected primary-expression before 'if'
??? if(a > b)swap(a, b);
^~
/in/foo.cc:8:5: error: expected ':' before 'if'
/in/foo.cc:8:5: error: expected primary-expression before 'if'
/in/foo.cc:8:5: error: expected ':' before 'if'
/in/foo.cc:8:5: error: expected primary-expression before 'if'
/in/foo.cc:8:5: error: expected ':' before 'if'
/in/foo.cc:8:5: error: expected primary-expression before 'if'
/in/foo.cc:9:1: error: expected primary-expression before '?' token
??? if(b > c)swap(b, c);
^
/in/foo.cc:9:2: error: expected primary-expression before '?' token
??? if(b > c)swap(b, c);
^
/in/foo.cc:9:3: error: expected primary-expression before '?' token
??? if(b > c)swap(b, c);
^
/in/foo.cc:9:5: error: expected primary-expression before 'if'
??? if(b > c)swap(b, c);
^~
/in/foo.cc:9:5: error: expected ':' before 'if'
/in/foo.cc:9:5: error: expected primary-expression before 'if'
/in/foo.cc:9:5: error: expected ':' before 'if'
/in/foo.cc:9:5: error: expected primary-expression before 'if'
/in/foo.cc:9:5: error: expected ':' before 'if'
/in/foo.cc:9:5: error: expected primary-expression before 'if'
/in/foo.cc:10:1: error: expected primary-expression before '?' token
??? if(a+b > c){
^
/in/foo.cc:10:2: error: expected primary-expression before '?' token
??? if(a+b > c){
^
/in/foo.cc:10:3: error: expected primary-expression before '?' token
??? if(a+b > c){
^
/in/foo.cc:10:5: error: expected primary-expression before 'if'
??? if(a+b > c){
^~
/in/foo.cc:10:5: error: expected ':' before 'if'
/in/foo.cc:10:5: error: expected primary-expression before 'if'
/in/foo.cc:10:5: error: expected ':' before 'if'
/in/foo.cc:10:5: error: expected primary-expression before 'if'
/in/foo.cc:10:5: error: expected ':' before 'if'
/in/foo.cc:10:5: error: expected primary-expression before 'if'
/in/foo.cc:14:6: error: 'else' without a previous 'if'
??? }else cout << "NO";
^~~~
/in/foo.cc:15:1: error: expected primary-expression before '?' token
??? return 0;
^
/in/foo.cc:15:2: error: expected primary-expression before '?' token
??? return 0;
^
/in/foo.cc:15:3: error: expected primary-expression before '?' token
??? return 0;
^
/in/foo.cc:15:5: error: expected primary-expression before 'return'
??? return 0;
^~~~~~
/in/foo.cc:15:5: error: expected ':' before 'return'
/in/foo.cc:15:5: error: expected primary-expression before 'return'
/in/foo.cc:15:5: error: expected ':' before 'return'
/in/foo.cc:15:5: error: expected primary-expression before 'return'
/in/foo.cc:15:5: error: expected ':' before 'return'
/in/foo.cc:15:5: error: expected primary-expression before 'return'