Borderou de evaluare (job #2064831)
Utilizator | Data | 12 noiembrie 2017 21:32:30 | |
---|---|---|---|
Problema | Cele mai apropiate puncte din plan | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:34:27: error: ‘vector’ has not been declared
double cmap(int p, int u, vector<Punct> &px, vector<Punct>&py)
^
user.cpp:34:33: error: expected ‘,’ or ‘...’ before ‘<’ token
double cmap(int p, int u, vector<Punct> &px, vector<Punct>&py)
^
user.cpp: In function ‘double cmap(int, int, int)’:
user.cpp:40:12: error: ‘py’ was not declared in this scope
if(py[p].y > py[u].y)
^
user.cpp:42:14: error: ‘py’ was not declared in this scope
P1 = py[p];
^
user.cpp:47:34: error: ‘px’ was not declared in this scope
double dmin_stg = cmap(p, m, px, py);
^
user.cpp:47:38: error: ‘py’ was not declared in this scope
double dmin_stg = cmap(p, m, px, py);
^
user.cpp:50:5: error: ‘vector’ was not declared in this scope
vector<Punct> t(u - p + 1);
^
user.cpp:50:17: error: expected primary-expression before ‘>’ token
vector<Punct> t(u - p + 1);
^
user.cpp:50:30: error: ‘t’ was not declared in this scope
vector<Punct> t(u - p + 1);
^
user.cpp:51:103: error: ‘merge’ was not declared in this scope
merge(py.begin() + p, py.begin() + m + 1, py.begin() + m + 1, py.begin() + u + 1, t.begin(), sorty);
^
user.cpp:55:17: error: expected primary-expression before ‘>’ token
vector<Punct> w;
^
user.cpp:55:19: error: ‘w’ was not declared in this scope
vector<Punct> w;
^
user.cpp: In function ‘int main()’:
user.cpp:80:5: error: ‘vector’ was not declared in this scope
vector<Punct> px(n), py(n);
^
user.cpp:80:17: error: expected primary-expression before ‘>’ token
vector<Punct> px(n), py(n);
^
user.cpp:80:23: error: ‘px’ was not declared in this scope
vector<Punct> px(n), py(n);
^
user.cpp:80:30: error: ‘py’ was not declared in this scope
vector<Punct> px(n), py(n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !