0_0_13814602_5692.cpp: In function 'void solve()':
0_0_13814602_5692.cpp:117:22: error: call of overloaded 'abs(double)' is ambiguous
if( abs( bbbb - tag ) < eps ){
^
0_0_13814602_5692.cpp:117:22: note: candidates are:
In file included from 0_0_13814602_5692.cpp:3:0:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:205:15: note: int abs(int)
int __cdecl abs(int _X);
^
0_0_13814602_5692.cpp:37:8: note: double abs(double)
double abs(double a)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:38:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_13814602_5692.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:91:3: note: constexpr long double std::abs(long double)
abs(long double __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:87:3: note: constexpr float std::abs(float)
abs(float __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:81:3: note: constexpr double std::abs(double)
abs(double __x)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h:41:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2850,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from 0_0_13814602_5692.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdlib:174:3: note: long long int std::abs(long long int)
abs(long long __x) { return __builtin_llabs (__x); }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdlib:166:3: note: long int std::abs(long int)
abs(long __i) { return __builtin_labs(__i); }
^
0_0_13814602_5692.cpp:122:31: error: call of overloaded 'abs(double)' is ambiguous
for(len = 0; abs( x - int(x) ) > eps ; len ++, x *= 10);
^
0_0_13814602_5692.cpp:122:31: note: candidates are:
In file included from 0_0_13814602_5692.cpp:3:0:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:205:15: note: int abs(int)
int __cdecl abs(int _X);
^
0_0_13814602_5692.cpp:37:8: note: double abs(double)
double abs(double a)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:38:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_13814602_5692.cpp:9:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:91:3: note: constexpr long double std::abs(long double)
abs(long double __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:87:3: note: constexpr float std::abs(float)
abs(float __x)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:81:3: note: constexpr double std::abs(double)
abs(double __x)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h:41:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2850,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from 0_0_13814602_5692.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdlib:174:3: note: long long int std::abs(long long int)
abs(long long __x) { return __builtin_llabs (__x); }
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdlib:166:3: note: long int std::abs(long int)
abs(long __i) { return __builtin_labs(__i); }
^
0_0_13814602_5692.cpp:136:19: error: no match for 'operator+' (operand types are 'std::vector<long long int>' and 'std::vector<long long int>::size_type {aka long long unsigned int}')
sort(ssss, ssss + ssss.size(), comp);
^
0_0_13814602_5692.cpp:136:19: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_13814602_5692.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:334:5: note: template<class _Iterator> std::reverse_iterator<_Iterator> std::operator+(typename std::reverse_iterator<_Iterator>::difference_type, const std::reverse_iterator<_Iterator>&)
operator+(typename reverse_iterator<_Iterator>::difference_type __n,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:334:5: note: template argument deduction/substitution failed:
0_0_13814602_5692.cpp:136:31: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'std::vector<long long int>::size_type {aka long long unsigned int}'
sort(ssss, ssss + ssss.size(), comp);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from 0_0_13814602_5692.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1135:5: note: template<class _Iterator> std::move_iterator<_Iterator> std::operator+(typename std::move_iterator<_Iterator>::difference_type, const std::move_iterator<_Iterator>&)
operator+(typename move_iterator<_Iterator>::difference_type __n,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1135:5: note: template argument deduction/substitution failed:
0_0_13814602_5692.cpp:136:31: note: mismatched types 'const std::move_iterator<_Iterator>' and 'std::vector<long long int>::size_type {aka long long unsigned int}'
sort(ssss, ssss + ssss.size(), comp);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from 0_0_13814602_5692.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2384:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2384:5: note: template argument deduction/substitution failed:
0_0_13814602_5692.cpp:136:31: note: 'std::vector<long long int>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
sort(ssss, ssss + ssss.size(), comp);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:53:0,
from 0_0_13814602_5692.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:692:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator+(const _CharT* __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:692:5: note: template argument deduction/substitution failed:
0_0_13814602_5692.cpp:136:31: note: mismatched types 'const _CharT*' and 'std::vector<long long int>'
sort(ssss, ssss + ssss.size(), comp);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:53:0,
from 0_0_13814602_5692.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:708:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(_CharT, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.tcc:708:5: note: template argument deduction/substitution failed:
0_0_13814602_5692.cpp:136:31: note: mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and 'std::vector<long long int>::size_type {aka long long unsigned int}'
sort(ssss, ssss + ssss.size(), comp);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from 0_0_13814602_5692.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2421:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_string<_CharT, _Traits, _Alloc> std::operator+(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2421:5: note: template argument deduction/substitution failed:
0_0_13814602_5692.cpp:136:31: note: 'std::vector<long long int>' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
sort(ssss, ssss + ssss.size(), comp);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from 0_0_13814602_5692.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2437:5: not
|