Borderou de evaluare (job #3164745)
Utilizator | Data | 4 noiembrie 2023 11:00:35 | |
---|---|---|---|
Problema | Sortare topologica | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:43:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(j = 0; j < ctc[i].size(); j++)
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void dfs(int)':
main.cpp:64:15: error: use of an operand of type 'bool' in 'operator++' is forbidden in C++17
64 | vizTop[nod]++;
| ~~~~~~~~~~^
main.cpp:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | for(i = 0; i < g[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp: In function 'void dfsTranspus(int)':
main.cpp:82:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | for(i = 0; i < gTranspus[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !