foo.cc:2:7: error: expected nested-name-specifier before 'spacemane'
2 | using spacemane std;
| ^~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:5:5: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
5 | if(a>b>c)
| ~^~
foo.cc:6:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
6 | cout>>a>>endl;
| ^~~~
| std::cout
In file included from stdc++.h:75:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iostream:61:18: note: 'std::cout' declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
foo.cc:6:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
6 | cout>>a>>endl;
| ^~~~
| std::endl
In file included from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/istream:39,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/sstream:38,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/complex:45,
from /nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ccomplex:39,
from stdc++.h:54:
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:688:5: note: 'std::endl' declared here
688 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~
foo.cc:7:5: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
7 | if(b>a>c)
| ~^~
foo.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
8 | cout>>b>>endl;
| ^~~~
| std::cout
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iostream:61:18: note: 'std::cout' declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
foo.cc:8:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
8 | cout>>b>>endl;
| ^~~~
| std::endl
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:688:5: note: 'std::endl' declared here
688 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~
foo.cc:9:5: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
9 | if(c>b>a)
| ~^~
foo.cc:10:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
10 | cout>>c>>endl;
| ^~~~
| std::cout
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/iostream:61:18: note: 'std::cout' declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~
foo.cc:10:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
10 | cout>>c>>endl;
| ^~~~
| std::endl
/nix/store/np14qqgvvnyna3vv640hmhi21flymiia-gcc-12.2.0/include/c++/12.2.0/ostream:688:5: note: 'std::endl' declared here
688 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~
[Hydro](https://hydro.ac)提供评测服务