Kiek kartų?

Taškai: 0

Compile: FAIL

kiek_kartu.cpp: In function ‘int main()’: kiek_kartu.cpp:16:10: error: no match for ‘operator=’ (operand types are ‘std::map<long long int, int>’ and ‘int’) x=0; ^ In file included from /usr/include/c++/5/map:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:80, from kiek_kartu.cpp:2: /usr/include/c++/5/bits/stl_map.h:296:7: note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(const std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = long long int; _Tp = int; _Compare = std::less<long long int>; _Alloc = std::allocator<std::pair<const long long int, int> >] operator=(const map& __x) ^ /usr/include/c++/5/bits/stl_map.h:296:7: note: no known conversion for argument 1 from ‘int’ to ‘const std::map<long long int, int>&’ /usr/include/c++/5/bits/stl_map.h:305:7: note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::map<_Key, _Tp, _Compare, _Alloc>&&) [with _Key = long long int; _Tp = int; _Compare = std::less<long long int>; _Alloc = std::allocator<std::pair<const long long int, int> >] operator=(map&&) = default; ^ /usr/include/c++/5/bits/stl_map.h:305:7: note: no known conversion for argument 1 from ‘int’ to ‘std::map<long long int, int>&&’ /usr/include/c++/5/bits/stl_map.h:319:7: note: candidate: std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::initializer_list<std::pair<const _Key, _Tp> >) [with _Key = long long int; _Tp = int; _Compare = std::less<long long int>; _Alloc = std::allocator<std::pair<const long long int, int> >] operator=(initializer_list<value_type> __l) ^ /usr/include/c++/5/bits/stl_map.h:319:7: note: no known conversion for argument 1 from ‘int’ to ‘std::initializer_list<std::pair<const long long int, int> >’

nr.resulttimemessage