Mã chấm |
Tài khoản |
Bài tập |
Ngôn ngữ lập trình |
Trạng thái |
Thời gian |
Bộ nhớ |
Kích thước |
Thời gian nộp |
268947 |
Phan Ngọc Cường |
Gắn kết số |
C/C++ |
Lỗi biên dịch (CE) |
0 MS
|
0 KB
|
1534 |
2023-11-18 20:48:48 |
Lỗi biên dịch:
Main.cc: In function ‘int main()’:
Main.cc:70:33: error: no matching function for call to ‘count(long int [x], int&, int&, int&)’
cout< typename std::iterator_traits<_Iterator>::difference_type std::count(_IIter, _IIter, const _Tp&)
count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
^~~~~
/usr/include/c++/7/bits/stl_algo.h:4076:5: note: template argument deduction/substitution failed:
Main.cc:70:33: note: deduced conflicting types for parameter ‘_IIter’ (‘long int*’ and ‘int’)
cout<