Problem jaydenscurve
User neoaix
Submission Time 2026-06-26 14:31:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

jaydenscurve.cpp: In function ‘int main()’:
jaydenscurve.cpp:15:30: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
15 | grid[i].set[j]
| ^
jaydenscurve.cpp:22:47: error: no match for call to ‘(std::vector<std::bitset<2000> >) (int&)’
22 | bitset<2000> intersection = grid(i) & grid(j) ;
| ^
jaydenscurve.cpp:22:57: error: no match for call to ‘(std::vector<std::bitset<2000> >) (int&)’
22 | bitset<2000> intersection = grid(i) & grid(j) ;
| ^
jaydenscurve.cpp:23:39: error: expected primary-expression before ‘>=’ token
23 | if (intersection.count()) >=2{
| ^~