Problem | boardvision |
---|---|
User | vince |
Submission Time | 2023-11-20 14:44:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
boardvision.cpp: In function ‘int main()’:
boardvision.cpp:18:23: error: no matching function for call to ‘to_integer(bool&)’
18 | t += to_integer(h[i]) + to_integer(v[i]);
| ^
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from boardvision.cpp:1:
/usr/include/c++/9/cstddef:191:5: note: candidate: ‘template<class _IntegerType> constexpr _IntegerType std::to_integer(std::__byte_op_t<_IntegerType>)’
191 | to_integer(__byte_op_t<_IntegerType> __b) noexcept
| ^~~~~~~~~~
/usr/include/c++/9/cstddef:191:5: note: template argument deduction/substitution failed:
boardvision.cpp:18:23: note: couldn’t deduce template parameter ‘_IntegerType’
18 | t += to_integer(h[i]) + to_integer(v[i]);
| ^
boardvision.cpp:18:42: error: no matching function for call to ‘to_integer(bool&)’
18 | t += to_integer(h[i]) + t