Borderou de evaluare (job #2320073)

Utilizator tiberiu392Tiberiu Ungurianu tiberiu392 Data 14 ianuarie 2019 09:49:14
Problema Elicoptere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'double distv(int, int)': main.cpp:44:35: warning: variable 'x4' set but not used [-Wunused-but-set-variable] double x1,y11,x2,y2,x3,y3,y4, x4; ^~ main.cpp: In function 'int main()': main.cpp:112:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( i = 0 ; i <= muchie.size() ; i++ ) ~~^~~~~~~~~~~~~~~~ main.cpp:114:27: error: 'class std::vector<muki>' has no member named 'x' X = update(muchie.x); ^ main.cpp:115:27: error: 'class std::vector<muki>' has no member named 'y' Y = update(muchie.y); ^ main.cpp:118:15: error: no match for 'operator+=' (operand types are 'double' and '__gnu_cxx::__alloc_traits<std::allocator<muki> >::value_type {aka muki}') sm += muchie[i]dist; main.cpp:133:29: error: invalid types 'int [105][double]' for array subscript cnt[update(conex[i])]++; ^ Non zero exit status: 1

Ceva nu functioneaza?