Borderou de evaluare (job #1831400)
Utilizator | Data | 17 decembrie 2016 23:23:46 | |
---|---|---|---|
Problema | Zimeria | 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:30:3: error: ‘list’ was not declared in this scope
list<string>vec;
^
user.cpp:30:14: error: expected primary-expression before ‘>’ token
list<string>vec;
^
user.cpp:30:15: error: ‘vec’ was not declared in this scope
list<string>vec;
^
user.cpp:31:14: error: expected primary-expression before ‘>’ token
list<string>::iterator it;
^
user.cpp:31:26: error: missing template arguments before ‘it’
list<string>::iterator it;
^
user.cpp:31:26: error: expected ‘;’ before ‘it’
user.cpp:36:7: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[c] = i + 'a' - 1;
^
user.cpp:44:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
s[j - 1] = v[c];
^
user.cpp:49:8: error: ‘it’ was not declared in this scope
for (it = vec.begin(); it != vec.end(); it++)
^
user.cpp:53:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
g << rasp[s[i]];
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !