0_0_39563666_25087.cpp:3:1: error: 'uing' does not name a type
3 | uing namespace std;
| ^~~~
0_0_39563666_25087.cpp: In function 'int main()':
0_0_39563666_25087.cpp:7:4: error: 'stack' was not declared in this scope; did you mean 'std::stack'?
7 | stack<int> ans;
| ^~~~~
| std::stack
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/stack:63,
from 0_0_39563666_25087.cpp:2:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_stack.h:99:11: note: 'std::stack' declared here
99 | class stack
| ^~~~~
0_0_39563666_25087.cpp:7:10: error: expected primary-expression before 'int'
7 | stack<int> ans;
| ^~~
0_0_39563666_25087.cpp:8:10: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
8 | while(cin>>x){
| ^~~
| std::cin
In file included from 0_0_39563666_25087.cpp:1:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:62:18: note: 'std::cin' declared here
62 | extern istream cin; ///< Linked to standard input
| ^~~
0_0_39563666_25087.cpp:10:10: error: 'ans' was not declared in this scope; did you mean 'abs'?
10 | ans.push(x%2);
| ^~~
| abs
0_0_39563666_25087.cpp:13:14: error: 'ans' was not declared in this scope; did you mean 'abs'?
13 | while(!ans.empty()){
| ^~~
| abs
0_0_39563666_25087.cpp:14:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
14 | cout<<ans.pop();
| ^~~~
| std::cout
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cout; ///< Linked to standard output
| ^~~~
0_0_39563666_25087.cpp:16:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
16 | cout<<endl;
| ^~~~
| std::cout
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:63:18: note: 'std::cout' declared here
63 | extern ostream cout; ///< Linked to standard output
| ^~~~
0_0_39563666_25087.cpp:16:13: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
16 | cout<<endl;
| ^~~~
| std::endl
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:735:5: note: 'std::endl' declared here
735 | endl(basic_ostream<_CharT, _Traits>& __os)
| ^~~~
|