Borderou de evaluare (job #1085547)
Utilizator | Data | 17 ianuarie 2014 09:40:48 | |
---|---|---|---|
Problema | K Aparitii | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:8: error: ‘PII’ was not declared in this scope
vector<PII> H[MOD];
^
user.cpp:11:11: error: template argument 1 is invalid
vector<PII> H[MOD];
^
user.cpp:11:11: error: template argument 2 is invalid
user.cpp:11:19: error: invalid type in declaration before ‘;’ token
vector<PII> H[MOD];
^
user.cpp: In function ‘void insert(int)’:
user.cpp:16:12: error: ‘PII’ was not declared in this scope
vector<PII>::iterator it;
^
user.cpp:16:15: error: template argument 1 is invalid
vector<PII>::iterator it;
^
user.cpp:16:15: error: template argument 2 is invalid
user.cpp:16:27: error: expected initializer before ‘it’
vector<PII>::iterator it;
^
user.cpp:17:9: error: ‘it’ was not declared in this scope
for(it=H[r].begin();it!=H[r].end();it++)
^
user.cpp:17:17: error: request for member ‘begin’ in ‘H[r]’, which is of non-class type ‘int’
for(it=H[r].begin();it!=H[r].end();it++)
^
user.cpp:17:34: error: request for member ‘end’ in ‘H[r]’, which is of non-class type ‘int’
for(it=H[r].begin();it!=H[r].end();it++)
^
user.cpp:19:8: error: ‘it’ was not declared in this scope
if(it!=H[r].end())
^
user.cpp:19:17: error: request for member ‘end’ in ‘H[r]’, which is of non-class type ‘int’
if(it!=H[r].end())
^
user.cpp:24:27: error: request for member ‘back’ in ‘H[r]’, which is of non-class type ‘int’
swap(*it,H[r].back());
^
user.cpp:25:18: error: request for member ‘pop_back’ in ‘H[r]’, which is of non-class type ‘int’
H[r].pop_back();
^
user.cpp:30:14: error: request for member ‘push_back’ in ‘H[r]’, which is of non-class type ‘int’
H[r].push_back(make_pair(x,1));
^
user.cpp: In function ‘int main()’:
user.cpp:46:18: error: request for member ‘empty’ in ‘H[i]’, which is of non-class type ‘int’
if(!H[i].empty()) break;
^
user.cpp:47:24: error: request for member ‘back’ in ‘H[i]’, which is of non-class type ‘int’
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !