0_0_16416311_23396.cpp: In function 'int cmp(f, f)':
0_0_16416311_23396.cpp:10:19: error: no match for 'operator>' (operand types are 'int' and 'f')
return x.v>y,v;
^
0_0_16416311_23396.cpp:10:19: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_16416311_23396.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:233:5: note: template<class _T1, class _T2> constexpr bool std::operator>(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:233:5: note: template argument deduction/substitution failed:
0_0_16416311_23396.cpp:10:20: note: mismatched types 'const std::pair<_T1, _T2>' and 'int'
return x.v>y,v;
^
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++/algorithm:61,
from 0_0_16416311_23396.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:310:5: note: template<class _Iterator> bool std::operator>(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator>(const reverse_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:310:5: note: template argument deduction/substitution failed:
0_0_16416311_23396.cpp:10:20: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'int'
return x.v>y,v;
^
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++/algorithm:61,
from 0_0_16416311_23396.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:360:5: note: template<class _IteratorL, class _IteratorR> bool std::operator>(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator>(const reverse_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:360:5: note: template argument deduction/substitution failed:
0_0_16416311_23396.cpp:10:20: note: mismatched types 'const std::reverse_iterator<_Iterator>' and 'int'
return x.v>y,v;
^
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++/algorithm:61,
from 0_0_16416311_23396.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1096:5: note: template<class _IteratorL, class _IteratorR> bool std::operator>(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
operator>(const move_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1096:5: note: template argument deduction/substitution failed:
0_0_16416311_23396.cpp:10:20: note: mismatched types 'const std::move_iterator<_Iterator>' and 'int'
return x.v>y,v;
^
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++/algorithm:61,
from 0_0_16416311_23396.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1102:5: note: template<class _Iterator> bool std::operator>(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
operator>(const move_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1102:5: note: template argument deduction/substitution failed:
0_0_16416311_23396.cpp:10:20: note: mismatched types 'const std::move_iterator<_Iterator>' and 'int'
return x.v>y,v;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
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_16416311_23396.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2625:5: note: template<class _CharT, class _Traits, class _Alloc> bool 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:2625:5: note: template argument deduction/substitution failed:
0_0_16416311_23396.cpp:10:20: note: mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and 'int'
return x.v>y,v;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
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_16416311_23396.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2637:5: note: template<class _CharT, class _Traits, class _Alloc> bool 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:2637:5: note: template argument deduction/substitution failed:
0_0_16416311_23396.cpp:10:20: note: mismatched types 'const std::basic_string<_CharT, _Traits, _Alloc>' and 'int'
return x.v>y,v;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
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_16416311_23396.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2649:5: note: template<class _CharT, class _Traits, class _Alloc> bool 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.h:2649:5: note: template argument deduction/substitution failed:
0_0_16416311_23396.cpp:10:20: note: mismatched types 'const _CharT*' and 'int'
return x.v>y,v;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
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_16416311_23396.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1541:5: note: template<class _Tp, class _Alloc> bool std::operator>(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1541:5: note: template argument deduction/substitution failed:
0_0_16416311_23396.cpp:10:20: note: mismatched types 'const std::vector<_Tp, _Alloc>' and 'int'
return x.v>y,v;
^
0_0_16416311_23396.cpp:10:22: error: 'v' was not declared in this scope
return x.v>y,v;
^
0_0_16416311_23396.cpp: In function 'int main()':
0_0_16416311_23396.cpp:19:30: error: expected unqualified-id before '&' token
scanf("%d%d".&m,&n);
^
0_0_16416311_23396.cpp:21:40: error: expected unqualified-id before '&' token
scanf("%d%d%d".&ff[i].w,&ff[i].a,&ff[i].b);
^
|