Borderou de evaluare (job #3328768)

Utilizator g.vladGociu Vlad g.vlad Data 10 decembrie 2025 11:05:03
Problema Bile Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:22: error: ISO C++ forbids declaration of 'operator==' with no type [-fpermissive] 11 | constexpr inline operator==(pos_t const& other) const { | ^~~~~~~~ main.cpp:16:22: error: ISO C++ forbids declaration of 'operator!=' with no type [-fpermissive] 16 | constexpr inline operator!=(pos_t const& other) const { | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:93:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 93 | if(pos.x + 1 < N && parent_of[pos.x + 1][pos.y] != NONE) merge(pos, parent_of[pos.x + 1][pos.y]); | ~~~~~~~~~~^~~ main.cpp:95:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 95 | if(pos.y + 1 < N && parent_of[pos.x][pos.y + 1] != NONE) merge(pos, parent_of[pos.x][pos.y + 1]); | ~~~~~~~~~~^~~ main.cpp:98:19: error: no match for 'operator[]' (operand types are 'unsigned int [250][250]' and 'pos_t') 98 | if(size_of[root_of(pos)] > max_current) { | ^ main.cpp:99:34: error: no match for 'operator[]' (operand types are 'unsigned int [250][250]' and 'pos_t') 99 | max_current = size_of[root_of(pos)]; | ^ main.cpp:105:5: error: return-statement with no value, in function returning 'int' [-fpermissive] 105 | return; | ^~~~~~ Non zero exit status: 1

Ceva nu functioneaza?