Borderou de evaluare (job #2897417)
Utilizator | Data | 3 mai 2022 18:30:25 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:29:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(i=0;i<suc[nod].size();i++)
| ~^~~~~~~~~~~~~~~~
main.cpp: In function 'void df(int, int)':
main.cpp:47:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(i=0;i<pred[nod].size();i++)
| ~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void afis()':
main.cpp:62:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | for(j=0;j<sol[i].size();j++)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:75:2: error: 'memset' was not declared in this scope
75 | memset(uz,0,sizeof(uz));
| ^~~~~~
main.cpp:3:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
2 | #include <vector>
+++ |+#include <cstring>
3 | #define MaxN 100009
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !