Borderou de evaluare (job #2122523)
Utilizator | Data | 5 februarie 2018 10:37:47 | |
---|---|---|---|
Problema | Componente biconexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void cache(int, int)’:
user.cpp:44:15: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses]
}while(tx != x | ty != y);
^
user.cpp: In function ‘void DFS(int, int, int)’:
user.cpp:50:15: error: invalid types ‘int[int]’ for array subscript
depth[node] = height[node] = depth;
^
user.cpp:55:19: error: invalid types ‘int[int]’ for array subscript
if(depth[m])
^
user.cpp:62:39: error: invalid types ‘int[int]’ for array subscript
if(height[m] >= depth[node])
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !