Borderou de evaluare (job #2175321)
Utilizator | Data | 16 martie 2018 16:34:42 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:10:12: error: array bound is not an integer constant before ‘]’ token
int n,m,r[m],nr;
^
user.cpp: In function ‘void euler(int)’:
user.cpp:19:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[x].size();i++){
^
user.cpp:27:5: error: ‘r’ was not declared in this scope
r[++nr]=x;
^
user.cpp: In function ‘void afisare()’:
user.cpp:41:12: error: ‘r’ was not declared in this scope
g<<r[i]<<' ';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !