Borderou de evaluare (job #2419673)
Utilizator | Data | 9 mai 2019 10:46:51 | |
---|---|---|---|
Problema | Paduri de multimi disjuncte | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:5: error: expected ',' or ';' before 'int'
int n,m,i,x,y,cod;
^~~
main.cpp:19:9: error: 'n' was not declared in this scope
in>>n>>m;
^
main.cpp:19:12: error: 'm' was not declared in this scope
in>>n>>m;
^
main.cpp:20:9: error: 'i' was not declared in this scope
for(i=1;i<=n;i++)
^
main.cpp:25:9: error: 'i' was not declared in this scope
for(i=1;i<=m;i++)
^
main.cpp:27:13: error: 'cod' was not declared in this scope
in>>cod>>x>>y;
^~~
main.cpp:27:18: error: 'x' was not declared in this scope
in>>cod>>x>>y;
^
main.cpp:27:21: error: 'y' was not declared in this scope
in>>cod>>x>>y;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !