| Problem | field |
|---|---|
| User | popperoni |
| Submission Time | 2025-02-14 18:50:01 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
field.cpp: In function ‘int main()’:
field.cpp:82:43: error: no matching function for call to ‘fill(long long int [850][850], long long int, long unsigned int)’
82 | ll ans[850][850];fill(ans,inf,sizeof(ans));
| ^
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 field.cpp:1:
/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:
field.cpp:82:43: note: deduced conflicting types for parameter ‘_ForwardIterator’ (‘lo