| Problem | clinic |
|---|---|
| User | Batigol |
| Submission Time | 2026-06-18 22:03:17 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
clinic.cpp: In function ‘int main()’:
clinic.cpp:44:23: error: no matching function for call to ‘fill(long long int [10000], int, long unsigned int)’
44 | fill(ft,0, sizeof(ft));
| ^
In file included from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from clinic.cpp:3:
/usr/include/c++/9/bits/stl_algobase.h:742:5: note: candidate: ‘template<class _ForwardIterator, class _Tp> void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&)’
742 | fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value)
| ^~~~
/usr/include/c++/9/bits/stl_algobase.h:742:5: note: template argument deduction/substitution failed:
clinic.cpp:44:23: note: deduced conflicting types for parameter ‘_ForwardIterator’ (‘long long int*’ and ‘int’)
44 | fill(ft,0, s