Problem | subgraphs |
---|---|
User | PlayVoltz |
Submission Time | 2023-09-06 11:59:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
subgraphs.cpp: In function ‘void gconnect(int, int)’:
subgraphs.cpp:14:5: error: ‘ll’ was not declared in this scope
14 | ll parenta = findRoot(a);
| ^~
subgraphs.cpp:15:7: error: expected ‘;’ before ‘parentb’
15 | ll parentb = findRoot(b);
| ^~~~~~~~
| ;
subgraphs.cpp:16:14: error: ‘parenta’ was not declared in this scope
16 | while (vect[parenta]>0){
| ^~~~~~~
subgraphs.cpp:19:14: error: ‘parentb’ was not declared in this scope
19 | while (vect[parentb]>0){
| ^~~~~~~
subgraphs.cpp:22:6: error: ‘parenta’ was not declared in this scope
22 | if (parenta==parentb){
| ^~~~~~~
subgraphs.cpp:22:15: error: ‘parentb’ was not declared in this scope
22 | if (parenta==parentb){
| ^~~~~~~
subgraphs.cpp:25:11: error: ‘parenta’ was not declared in this scope
25 | if (vect[parenta]>vect[parentb