Problem | colourblind |
---|---|
User | PlayVoltz |
Submission Time | 2024-03-06 07:36:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
colourblind.cpp: In function ‘std::pair<long long int, long long int> fp(std::pair<long long int, long long int>)’:
colourblind.cpp:20:15: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘i’
20 | if (dsu[node.i][node.j]==node)return node;
| ^
colourblind.cpp:20:23: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘j’
20 | if (dsu[node.i][node.j]==node)return node;
| ^
colourblind.cpp:21:18: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘i’
21 | return dsu[node.i][node.j]=fp(dsu[node.i][node.j]);
| ^
colourblind.cpp:21:26: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘j’
21 | return dsu[node.i][node.j]=fp(dsu[node.i][node.j]);
| ^
colourblind.cpp:21:41: error: ‘struct std::pair<lo