Borderou de evaluare (job #2188534)
Utilizator | Data | 27 martie 2018 10:51:43 | |
---|---|---|---|
Problema | Bvarcolaci | 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:32:9: error: ‘d’ was not declared in this scope
d.insert(v[i]);
^
user.cpp:34:5: error: ‘set’ was not declared in this scope
set<int>::iterator it;
^~~
user.cpp:34:9: error: expected primary-expression before ‘int’
set<int>::iterator it;
^~~
user.cpp:35:9: error: ‘it’ was not declared in this scope
for(it=d.begin();it!=d.end();++it)
^~
user.cpp:35:12: error: ‘d’ was not declared in this scope
for(it=d.begin();it!=d.end();++it)
^
user.cpp:37:9: error: ‘x’ was not declared in this scope
x=*it;
^
user.cpp:40:25: error: ‘a’ was not declared in this scope
if(v[i]==x) a[i]=1;
^
user.cpp:41:18: error: ‘a’ was not declared in this scope
else a[i]=-1;
^
user.cpp:27:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !