Borderou de evaluare (job #1792605)
Utilizator | Data | 30 octombrie 2016 16:18:37 | |
---|---|---|---|
Problema | Int | Status | done |
Runda | selectie_emag_mediu_2016_runda2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:8: error: ‘x’ was not declared in this scope
vector<x<int.int> >y;
^
user.cpp:8:17: error: template argument 1 is invalid
vector<x<int.int> >y;
^
user.cpp:8:17: error: template argument 2 is invalid
user.cpp:8:19: error: expected unqualified-id before ‘>’ token
vector<x<int.int> >y;
^
user.cpp:10:9: error: ‘x’ was not declared in this scope
bool sm(x<int.int> a.x<int.int> b)
^
user.cpp:10:11: error: expected primary-expression before ‘int’
bool sm(x<int.int> a.x<int.int> b)
^
user.cpp:11:1: error: expected ‘,’ or ‘;’ before ‘{’ token
{
^
user.cpp: In function ‘int main()’:
user.cpp:22:9: error: ‘y’ was not declared in this scope
y.push_back(make_x(a,b));
^
user.cpp:22:31: error: ‘make_x’ was not declared in this scope
y.push_back(make_x(a,b));
^
user.cpp:24:10: error: ‘y’ was not declared in this scope
sort(y.begin(),y.end(),sm);
^
user.cpp:25:9: error: ‘j’ was not declared in this scope
for(j=0;j<=n;j++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !