Borderou de evaluare (job #2948553)
Utilizator | Data | 27 noiembrie 2022 20:41:51 | |
---|---|---|---|
Problema | Catun | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:21:30: error: redeclaration of 'int x'
21 | int N, M, K, i, a, x, y, x;
| ^
main.cpp:21:24: note: 'int x' previously declared here
21 | int N, M, K, i, a, x, y, x;
| ^
main.cpp:38:18: error: 'z' was not declared in this scope
38 | f>>x>>y>>z;
| ^
main.cpp:58:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for(i=0; i<margini[nod_min].size(); i++)
| ~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:77:17: error: 'n' was not declared in this scope
77 | for(i=1; i<=n; i++)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !