Borderou de evaluare (job #3234622)
Utilizator | Data | 10 iunie 2024 18:23:04 | |
---|---|---|---|
Problema | Fold | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:15:18: error: no match for 'operator[]' (operand types are 'std::bitset<2002>::reference' and 'long long int')
15 | fr[i][j] = a;
| ^
main.cpp:21:33: error: request for member 'count' in '(((int)std::bitset<_Nb>::operator[](std::size_t) [with long unsigned int _Nb = 2002; std::size_t = long unsigned int](((std::size_t)i)).std::bitset<2002>::reference::operator bool()) & ((int)std::bitset<_Nb>::operator[](std::size_t) [with long unsigned int _Nb = 2002; std::size_t = long unsigned int](((std::size_t)j)).std::bitset<2002>::reference::operator bool()))', which is of non-class type 'int'
21 | a = (fr[i] & fr[j]).count();
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !