| Problem | message |
|---|---|
| User | gelastropod |
| Submission Time | 2026-05-18 17:53:05 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
aisha.cpp: In function ‘void send_message(std::vector<bool>, std::vector<bool>)’:
aisha.cpp:64:50: error: no matching function for call to ‘min(long long int, std::vector<bool>::size_type)’
64 | for (int j = 0; j < min(16LL, M.size() - i * 16); j++) tos[yay[j]] = M[i * 16 + j];
| ^
In file included from /usr/include/c++/9/vector:60,
from aisha.h:1,
from aisha.cpp:1:
/usr/include/c++/9/bits/stl_algobase.h:198:5: note: candidate: ‘template<class _Tp> constexpr const _Tp& std::min(const _Tp&, const _Tp&)’
198 | min(const _Tp& __a, const _Tp& __b)
| ^~~
/usr/include/c++/9/bits/stl_algobase.h:198:5: note: template argument deduction/substitution failed:
aisha.cpp:64:50: note: deduced conflicting types for parameter ‘const _Tp’ (‘long long int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’})
64