Borderou de evaluare (job #3278855)
Utilizator | Data | 20 februarie 2025 21:43:48 | |
---|---|---|---|
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:14:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for (int i = 0; i < a[x].size(); ++i) {
| ~~^~~~~~~~~~~~~
main.cpp: In function 'void dfst(int)':
main.cpp:25:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for (int i = 0; i < at[x].size(); ++i) {
| ~~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:36:11: error: 'n' was not declared in this scope; did you mean 'nr'?
36 | be >> n >> m;
| ^
| nr
main.cpp:36:16: error: 'm' was not declared in this scope; did you mean 'tm'?
36 | be >> n >> m;
| ^
| tm
main.cpp:65:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for (int j = 0; j < rez[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !