Borderou de evaluare (job #3322624)
| Utilizator | Data | 15 noiembrie 2025 09:00:23 | |
|---|---|---|---|
| Problema | Sediu | 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:13:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int i=0;i<v[node].size();i++)
| ~^~~~~~~~~~~~~~~
main.cpp:21:18: error: 'maxi' was not declared in this scope
21 | opus=maxi(opus,sub[vecin]);
| ^~~~
main.cpp: In function 'int main()':
main.cpp:31:14: error: 'x' was not declared in this scope
31 | cin>>x>>y;
| ^
main.cpp:31:17: error: 'y' was not declared in this scope
31 | cin>>x>>y;
| ^
main.cpp:36:23: error: expected ';' before ')' token
36 | for(int i=1<=n;i++)
| ^
| ;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
