0_0_38747780_20373.cpp: In function '__int128 check(__int128)':
0_0_38747780_20373.cpp:59:55: error: no matching function for call to 'max(__int128&, long long int)'
59 | ll y = pow(x, 1.0 / i) + 0.9; y = max(y, 1ll);
| ~~~^~~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:60,
from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:257:5: note: candidate: 'template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)'
257 | max(const _Tp& __a, const _Tp& __b)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:257:5: note: template argument deduction/substitution failed:
0_0_38747780_20373.cpp:59:55: note: deduced conflicting types for parameter 'const _Tp' ('__int128' and 'long long int')
59 | ll y = pow(x, 1.0 / i) + 0.9; y = max(y, 1ll);
| ~~~^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:303:5: note: candidate: 'template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)'
303 | max(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:303:5: note: template argument deduction/substitution failed:
0_0_38747780_20373.cpp:59:55: note: deduced conflicting types for parameter 'const _Tp' ('__int128' and 'long long int')
59 | ll y = pow(x, 1.0 / i) + 0.9; y = max(y, 1ll);
| ~~~^~~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:61:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:5795:5: note: candidate: 'template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)'
5795 | max(initializer_list<_Tp> __l)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:5795:5: note: template argument deduction/substitution failed:
0_0_38747780_20373.cpp:59:55: note: mismatched types 'std::initializer_list<_Tp>' and '__int128'
59 | ll y = pow(x, 1.0 / i) + 0.9; y = max(y, 1ll);
| ~~~^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:5805:5: note: candidate: 'template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)'
5805 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:5805:5: note: template argument deduction/substitution failed:
0_0_38747780_20373.cpp:59:55: note: mismatched types 'std::initializer_list<_Tp>' and '__int128'
59 | ll y = pow(x, 1.0 / i) + 0.9; y = max(y, 1ll);
| ~~~^~~~~~~~
0_0_38747780_20373.cpp: In function 'void solved()':
0_0_38747780_20373.cpp:77:25: error: no match for 'operator>>' (operand types are 'std::istream' {aka 'std::basic_istream<char>'} and '__int128')
77 | ll x;cin>>x; // cout << x << ' ';
| ~~~^~~
| | |
| | __int128
| std::istream {aka std::basic_istream<char>}
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/sstream:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/complex:45,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ccomplex:39,
from .\stdc++.h:127:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:325:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(void*&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
325 | operator>>(void*& __p)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:325:7: note: conversion of argument 1 would be ill-formed:
0_0_38747780_20373.cpp:77:27: error: invalid conversion from '__int128' to 'void*' [-fpermissive]
77 | ll x;cin>>x; // cout << x << ' ';
| ^
| |
| __int128
0_0_38747780_20373.cpp:77:27: error: cannot bind rvalue '(void*)((long long int)x)' to 'void*&'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:224:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
224 | operator>>(long double& __f)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:224:7: note: conversion of argument 1 would be ill-formed:
0_0_38747780_20373.cpp:77:27: error: cannot bind non-const lvalue reference of type 'long double&' to a value of type '__int128'
77 | ll x;cin>>x; // cout << x << ' ';
| ^
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:220:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(double&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
220 | operator>>(double& __f)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:220:7: note: conversion of argument 1 would be ill-formed:
0_0_38747780_20373.cpp:77:27: error: cannot bind non-const lvalue reference of type 'double&' to a value of type '__int128'
77 | ll x;cin>>x; // cout << x << ' ';
| ^
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:216:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(float&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
216 | operator>>(float& __f)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:216:7: note: conversion of argument 1 would be ill-formed:
0_0_38747780_20373.cpp:77:27: error: cannot bind non-const lvalue reference of type 'float&' to a value of type '__int128'
77 | ll x;cin>>x; // cout << x << ' ';
| ^
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:201:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
201 | operator>>(unsigned long long& __n)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:201:7: note: conversion of argument 1 would be ill-formed:
0_0_38747780_20373.cpp:77:27: error: cannot bind non-const lvalue reference of type 'long long unsigned int&' to a value of type '__int128'
77 | ll x;cin>>x; // cout << x << ' ';
| ^
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:197:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
197 | operator>>(long long& __n)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:197:7: note: conversion of argument 1 would be ill-formed:
0_0_38747780_20373.cpp:77:27: error: cannot bind non-const lvalue reference of type 'long long int&' to a value of type '__int128'
77 | ll x;cin>>x; // cout << x << ' ';
| ^
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:192:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long unsigned int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
192 | operator>>(unsigned long& __n)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:192:7: note: conversion of argument 1 would be ill-formed:
0_0_38747780_20373.cpp:77:27: error: cannot bind non-const lvalue reference of type 'long unsigned int&' to a value of type '__int128'
77 | ll x;cin>>x; // cout << x << ' ';
| ^
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:188:7: note: candidate: 'std::basic_istream<_CharT, _Traits>::__istream_type& std::basic_istream<_CharT, _Traits>::operator>>(long int&) [with _CharT = char; _Traits = std::char_traits<char>; __istream_type = std::basic_istream<char>]' (near match)
188 | operator>>(long& __n)
| ^~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/istream:188:7: note: conversion of arg
|