Borderou de evaluare (job #2503973)
Utilizator | Data | 4 decembrie 2019 01:01:50 | |
---|---|---|---|
Problema | Parc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:60:67: error: 'sqrt' was not declared in this scope
fout << setprecision(10) << sqrt(distx * distx + disty * disty) + addx + addy << "\n";
^
main.cpp:76:5: error: 'vector' was not declared in this scope
vector <int> ox;
^~~~~~
main.cpp:76:13: error: expected primary-expression before 'int'
vector <int> ox;
^~~
main.cpp:88:13: error: 'ox' was not declared in this scope
ox.push_back(xsegm[i].first + dx * diff);
^~
main.cpp:93:13: error: expected primary-expression before 'int'
vector <int> oy;
^~~
main.cpp:105:13: error: 'oy' was not declared in this scope
oy.push_back(ysegm[i].first + dy * diff);
^~
main.cpp:111:20: error: 'ox' was not declared in this scope
for (auto &i : ox)
^~
main.cpp:112:23: error: 'oy' was not declared in this scope
for (auto j : oy)
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !