0_0_39636945_13334.cpp: In function 'int main()':
0_0_39636945_13334.cpp:4:7: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
4 | while(cin>>a>>b>>c){
| ^~~
| std::cin
In file included from 0_0_39636945_13334.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_39636945_13334.cpp:5:9: error: 'swap' was not declared in this scope
5 | if(a>b) swap(a,b);
| ^~~~
0_0_39636945_13334.cpp:5:9: note: suggested alternatives:
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/uses_allocator_args.h:38,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/memory_resource.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:58,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/locale_classes.h:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:44,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
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++/tuple:2187:5: note: 'std::swap'
2187 | swap(tuple<_Elements...>&, tuple<_Elements...>&) = delete;
| ^~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/exception_ptr.h:41,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/exception:164,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:41:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/move.h:196:5: note: 'std::swap'
196 | swap(_Tp& __a, _Tp& __b)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/move.h:196:5: note: 'std::swap'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/exception_ptr.h:230:5: note: 'std::__exception_ptr::swap'
230 | swap(exception_ptr& __lhs, exception_ptr& __rhs)
| ^~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/compare:37,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/char_traits.h:56,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:42:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:243:43: note: 'std::ranges::__cust::swap'
243 | inline constexpr __cust_swap::_Swap swap{};
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:183:35: note: 'std::ranges::__cust_swap::swap'
183 | template<typename _Tp> void swap(_Tp&, _Tp&) = delete;
| ^~~~
0_0_39636945_13334.cpp:6:9: error: 'swap' was not declared in this scope
6 | if(a>c) swap(a,c);
| ^~~~
0_0_39636945_13334.cpp:6:9: note: suggested alternatives:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:2187:5: note: 'std::swap'
2187 | swap(tuple<_Elements...>&, tuple<_Elements...>&) = delete;
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/move.h:196:5: note: 'std::swap'
196 | swap(_Tp& __a, _Tp& __b)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/move.h:196:5: note: 'std::swap'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/exception_ptr.h:230:5: note: 'std::__exception_ptr::swap'
230 | swap(exception_ptr& __lhs, exception_ptr& __rhs)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:243:43: note: 'std::ranges::__cust::swap'
243 | inline constexpr __cust_swap::_Swap swap{};
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:183:35: note: 'std::ranges::__cust_swap::swap'
183 | template<typename _Tp> void swap(_Tp&, _Tp&) = delete;
| ^~~~
0_0_39636945_13334.cpp:7:9: error: 'swap' was not declared in this scope
7 | if(b>c) swap(b,c);
| ^~~~
0_0_39636945_13334.cpp:7:9: note: suggested alternatives:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/tuple:2187:5: note: 'std::swap'
2187 | swap(tuple<_Elements...>&, tuple<_Elements...>&) = delete;
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/move.h:196:5: note: 'std::swap'
196 | swap(_Tp& __a, _Tp& __b)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/move.h:196:5: note: 'std::swap'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/exception_ptr.h:230:5: note: 'std::__exception_ptr::swap'
230 | swap(exception_ptr& __lhs, exception_ptr& __rhs)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:243:43: note: 'std::ranges::__cust::swap'
243 | inline constexpr __cust_swap::_Swap swap{};
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/concepts:183:35: note: 'std::ranges::__cust_swap::swap'
183 | template<typename _Tp> void swap(_Tp&, _Tp&) = delete;
| ^~~~
0_0_39636945_13334.cpp:8:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
8 | std::cout<<a<<b<<c<<endl;
| ^~~~
| std::endl
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)
| ^~~~
|