Problem | foreveralone |
---|---|
User | YEethui |
Submission Time | 2024-03-04 12:10:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:14:35: error: no match for ‘operator!’ (operand type is ‘std::bitset<1000000000>’)
14 | for(int i = 0; i < n; i++) if(!b[i]) count++;
| ^~~~~
foreveralone.cpp:14:35: note: candidate: ‘operator!(bool)’ <built-in>
foreveralone.cpp:14:35: note: no known conversion for argument 1 from ‘std::bitset<1000000000>’ to ‘bool’