Borderou de evaluare (job #1886798)
Utilizator | Data | 21 februarie 2017 10:03:40 | |
---|---|---|---|
Problema | Densitate | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:27: error: redeclaration of ‘int ctr’
int n,ctr=0,i,m,j,c,s,ctr=0;
^
user.cpp:7:11: error: ‘int ctr’ previously declared here
int n,ctr=0,i,m,j,c,s,ctr=0;
^
user.cpp:8:12: error: ‘q’ was not declared in this scope
in>>n>>q;
^
user.cpp:10:9: error: ‘ciur’ was not declared in this scope
ciur[i]=true;
^
user.cpp:14:13: error: ‘ciur’ was not declared in this scope
if (ciur[i])
^
user.cpp:29:17: error: ‘ciur’ was not declared in this scope
if (ciur[j]==1)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !