| Problem | coins |
|---|---|
| User | YH |
| Submission Time | 2025-12-10 15:44:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
arnavaz.cpp: In function ‘std::vector<int> coin_flips(std::vector<int>, int)’:
arnavaz.cpp:6:5: error: ‘flip’ was not declared in this scope; did you mean ‘flips’?
6 | flip[0] = 0;
| ^~~~
| flips
arnavaz.cpp:9:19: error: no match for ‘operator==’ (operand types are ‘std::vector<int>’ and ‘int’)
9 | if (b == 0) flip[0] ^= (8*i+j);
| ~ ^~ ~
| | |
| | int
| std::vector<int>
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from arnavaz.cpp:1:
/usr/include/c++/9/bits/regex.h:1026:5: note: candidate: ‘template<class _BiIter> bool std::__cxx11::operator==(const std::__cxx11::sub_match<_BiIter>&, const std::__cxx11::sub_match<_BiIter>&)’
1026 | operator==(const sub_match<