Run id: 1929
Main.cc: In function 'int main()':
Main.cc:11:19: error: 'elif' was not declared in this scope
elif(a=b=c){
^
Main.cc:11:20: error: expected ';' before '{' token
elif(a=b=c){
^
Main.cc:14:25: error: lvalue required as left operand of assignment
elif(a=b||b=c||a=c){
^
Main.cc:14:28: error: expected ';' before '{' token
elif(a=b||b=c||a=c){
^
Main.cc:17:17: error: lvalue required as left operand of assignment
elif(a*a=b*b+c*c){
^
Main.cc:17:26: error: expected ';' before '{' token
elif(a*a=b*b+c*c){
^
Main.cc:20:9: error: 'else' without a previous 'if'
else{
^
In file included from /usr/include/c++/4.8.2/bits/char_traits.h:39:0,
from /usr/include/c++/4.8.2/ios:40,
from /usr/include/c++/4.8.2/ostream:38,
from /usr/include/c++/4.8.2/iostream:39,
from Main.cc:1:
/usr/include/c++/4.8.2/bits/stl_algobase.h: In instantiation of 'const _Tp& std::max(const _Tp&, const _Tp&, _Compare) [with _Tp = int; _Compare = int]':
Main.cc:6:16: required from here
/usr/include/c++/4.8.2/bits/stl_algobase.h:263:26: error: '__comp' cannot be used as a function
if (__comp(__a, __b))
^
/usr/include/c++/4.8.2/bits/stl_algobase.h: In instantiation of 'const _Tp& std::min(const _Tp&, const _Tp&, _Compare) [with _Tp = int; _Compare = int]':
Main.cc:7:16: required from here
/usr/include/c++/4.8.2/bits/stl_algobase.h:242:26: error: '__comp' cannot be used as a function
if (__comp(__b, __a))
^