Borderou de evaluare (job #2177827)

Utilizator lflorin29Florin Laiu lflorin29 Data 18 martie 2018 20:53:11
Problema Aquapark Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Find(int, int, int, int, int)’: user.cpp:39:12: warning: unused variable ‘TeavaNow’ [-Wunused-variable] auto TeavaNow = { -1, needY, -1}; ^ user.cpp: At global scope: user.cpp:49:5: error: ‘int y1’ redeclared as different kind of symbol int y1,y2; ^ In file included from /usr/include/features.h:367:0, from /usr/include/assert.h:35, from /usr/include/c++/5/cassert:43, from /usr/include/x86_64-linux-gnu/c++/5/32/bits/stdc++.h:33, from user.cpp:1: /usr/include/bits/mathcalls.h:251:1: note: previous declaration ‘double y1(double)’ __MATHCALL (y1,, (_Mdouble_)); ^ user.cpp: In function ‘void Find2(int, int, int, int, int)’: user.cpp:53:35: error: unable to deduce ‘std::initializer_list<_Tp>’ from ‘{-1, y1, -1}’ auto TeavaNow = { -1, y1, -1}; ^ user.cpp: In function ‘void DFS(int)’: user.cpp:76:10: error: assignment of function ‘double y1(double)’ y1 = T[nod].x + 1; ^ user.cpp:76:10: error: cannot convert ‘int’ to ‘double(double) throw ()’ in assignment

Ceva nu functioneaza?