Problem | colourblind |
---|---|
User | PlayVoltz |
Submission Time | 2024-03-06 07:38:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
colourblind.cpp: In function ‘ooga 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:20:39: error: could not convert ‘node’ from ‘std::pair<long long int, long long int>’ to ‘ooga’
20 | if (dsu[node.i][node.j]==node)return node;
| ^~~~
| |
| std::pair<long long int, long long int>
colourblind.cpp:21:22: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘i’
21 | pii par=fp(dsu[no