QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#444310#5070. Check Pattern is Badegypt_ioi2024_11Compile Error//C++233.8kb2024-06-15 18:12:422024-06-15 18:12:43

Details

answer.code: In function ‘bool sol()’:
answer.code:48:20: error: no match for ‘operator!’ (operand type is ‘std::bitset<105>’)
   48 |                 if(!bst1[i])    continue;
      |                    ^~~~~~~~
answer.code:48:20: note: candidate: ‘operator!(bool)’ (built-in)
answer.code:48:20: note:   no known conversion for argument 1 from ‘std::bitset<105>’ to ‘bool’