Borderou de evaluare (job #2375880)
Utilizator | Data | 8 martie 2019 12:47:54 | |
---|---|---|---|
Problema | Gold | Status | done |
Runda | geometry | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:18:1: error: 'vector' does not name a type
vector<Point> v, srt;
^~~~~~
main.cpp: In function 'void treat(int)':
main.cpp:37:32: error: 'srt' was not declared in this scope
for (int st = 0, dr = 0; st < srt.size(); ++st) {
^~~
main.cpp: In function 'int main()':
main.cpp:51:2: error: 'v' was not declared in this scope
v.resize(n);
^
main.cpp:52:16: error: unable to deduce 'auto&&' from 'v'
for (auto &i: v) {
^
main.cpp:56:16: error: unable to deduce 'auto&&' from 'v'
for (auto &i: v)
^
main.cpp:59:2: error: 'srt' was not declared in this scope
srt.reserve(n + 4);
^~~
main.cpp:67:17: error: unable to deduce 'auto&&' from 'srt'
for (auto &p: srt) {
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !