Borderou de evaluare (job #1528583)
| Utilizator | Data | 19 noiembrie 2015 20:40:45 | |
|---|---|---|---|
| Problema | Progr2 | Status | done |
| Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:7:1: error: ‘vector’ does not name a type
vector <int> g[mod];
^
user.cpp: In function ‘bool find(int)’:
user.cpp:11:9: error: ‘vector’ was not declared in this scope
for(vector <int> :: iterator it=g[x%mod].begin();it!=g[x%mod].end();++it)
^
user.cpp:11:17: error: expected primary-expression before ‘int’
for(vector <int> :: iterator it=g[x%mod].begin();it!=g[x%mod].end();++it)
^
user.cpp:11:17: error: expected ‘;’ before ‘int’
user.cpp:11:54: error: ‘it’ was not declared in this scope
for(vector <int> :: iterator it=g[x%mod].begin();it!=g[x%mod].end();++it)
^
user.cpp:11:58: error: ‘g’ was not declared in this scope
for(vector <int> :: iterator it=g[x%mod].begin();it!=g[x%mod].end();++it)
^
user.cpp: In function ‘int main()’:
user.cpp:30:18: error: ‘k’ was not declared in this scope
for(k=1;k<j;++k)
^
user.cpp:32:24: error: ‘k’ was not declared in this scope
if(find(v[k])) d[i][j]=d[i][k]+1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
