QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#522290#5523. Graph Problem With Small $n$egypt_ioi2024b_05Compile Error//C++201.4kb2024-08-16 20:58:322024-08-16 20:58:32

Details

answer.code: In function ‘int main()’:
answer.code:41:23: error: cannot convert ‘std::bitset<24>’ to ‘int’ in assignment
   41 |             cc = ctz[j];
      |                  ~~~~~^
      |                       |
      |                       std::bitset<24>
answer.code:48:16: error: no match for ‘operator[]’ (operand types are ‘std::bitset<24> [24]’ and ‘std::bitset<24>’)
   48 |             ans[ctz[j]]] |= d[(t^i)|1];
      |                ^