0_0_39749606_25216.cpp:2:1: error: 'uaing' does not name a type
2 | uaing namespace std;
| ^~~~~
0_0_39749606_25216.cpp: In function 'int main()':
0_0_39749606_25216.cpp:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
5 | cin>>t;
| ^~~
| std::cin
In file included from .\stdc++.h:146:
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_39749606_25216.cpp:12:27: error: 'min' was not declared in this scope
12 | x=min(x,a);
| ^~~
0_0_39749606_25216.cpp:12:27: note: suggested alternatives:
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:61,
from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:5785:5: note: 'std::min'
5785 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algo.h:39,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:63:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_util.h:733:29: note: 'std::ranges::min'
733 | inline constexpr __min_fn min{};
| ^~~
0_0_39749606_25216.cpp:16:27: error: 'min' was not declared in this scope
16 | y=min(y,a);
| ^~~
0_0_39749606_25216.cpp:16:27: note: suggested alternatives:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:5785:5: note: 'std::min'
5785 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_util.h:733:29: note: 'std::ranges::min'
733 | inline constexpr __min_fn min{};
| ^~~
0_0_39749606_25216.cpp:17:18: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
17 | }cout<<x+1000<<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_39749606_25216.cpp:17:32: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
17 | }cout<<x+1000<<endl;
| ^~~~
| std::endl
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/unique_ptr.h:42,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/memory:78,
from .\stdc++.h:56:
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)
| ^~~~
|