Borderou de evaluare (job #2149738)
Utilizator | Data | 2 martie 2018 22:22:34 | |
---|---|---|---|
Problema | Parcurgere DFS - componente conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:5: error: expected ‘,’ or ‘;’ before ‘int’
int x,y,j,nrc=0;
^
user.cpp:27:20: error: ‘x’ was not declared in this scope
/*c*/in >> x >> y;
^
user.cpp:27:25: error: ‘y’ was not declared in this scope
/*c*/in >> x >> y;
^
user.cpp:37:13: error: ‘nrc’ was not declared in this scope
nrc++;
^
user.cpp:41:17: error: ‘nrc’ was not declared in this scope
/*c*/out << nrc;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !