Borderou de evaluare (job #1018281)
Utilizator | Data | 29 octombrie 2013 10:24:40 | |
---|---|---|---|
Problema | Felinare | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void misca(int)’:
user.cpp:78:51: error: could not convert ‘it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator++<int*, std::vector<int> >(0)’ from ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’ to ‘bool’
for(vector<int>::iterator it=A[nod].begin();it++) {
^
user.cpp:78:53: error: expected ‘;’ before ‘)’ token
for(vector<int>::iterator it=A[nod].begin();it++) {
^
user.cpp: In function ‘int main()’:
user.cpp:104:9: error: ‘sol’ was not declared in this scope
sol[*it]--;
^
user.cpp:115:23: error: ‘sol’ was not declared in this scope
printf("%d\n",sol[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !