Borderou de evaluare (job #1707429)
Utilizator | Data | 25 mai 2016 03:34:40 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void computeScc(Graph&, int, int*, int*, int*, int*, int&, SCCLists&)’:
user.cpp:34:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int it = 0; it < G.adj[source].size(); it++) {
^
user.cpp:42:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int it = 0; it < G.adj[source].size(); it++) {
^
user.cpp: In function ‘int main()’:
user.cpp:66:36: error: ‘memset’ was not declared in this scope
memset(visited, 0, sizeof(visited));
^
user.cpp:83:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int jt = 0; jt < scc.scc[it].size(); jt++) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !