Borderou de evaluare (job #2586473)
Utilizator | Data | 20 martie 2020 22:12:59 | |
---|---|---|---|
Problema | Metrou2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void DFS(int)':
main.cpp:19:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void get_lant(int)':
main.cpp:37:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<V[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: At global scope:
main.cpp:50:33: error: ISO C++ forbids declaration of 'solve_dp1' with no type [-fpermissive]
solve_dp1(int t,int nod,int tata)
^
main.cpp: In function 'int solve_dp1(int, int, int)':
main.cpp:58:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<V[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp:63:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: At global scope:
main.cpp:65:33: error: ISO C++ forbids declaration of 'solve_dp2' with no type [-fpermissive]
solve_dp2(int t,int nod,int tata)
^
main.cpp: In function 'int solve_dp2(int, int, int)':
main.cpp:72:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<V[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp:77:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: At global scope:
main.cpp:79:33: error: ISO C++ forbids declaration of 'solve_dp3' with no type [-fpermissive]
solve_dp3(int t,int nod,int tata)
^
main.cpp: In function 'int solve_dp3(int, int, int)':
main.cpp:86:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<V[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp:91:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:206:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0;k<v[nod].size();k++)
~^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !