Borderou de evaluare (job #761900)

Utilizator avatar gugalcrom Muntoiu Vlad-Ioan gugalcrom IP ascuns
Problemă Cartier2 (clasa a 8-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 12 feb. 2024 16:58:50 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:47:21: error: no matching function for call to 'Bloc::Bloc()' 47 | Bloc blocuri[1048576]; | ^ main.cpp:11:5: note: candidate: 'Bloc::Bloc(unsigned int, unsigned int)' 11 | Bloc(unsigned int l, unsigned int h) { | ^~~~ main.cpp:11:5: note: candidate expects 2 arguments, 0 provided main.cpp:9:8: note: candidate: 'constexpr Bloc::Bloc(const Bloc&)' 9 | struct Bloc { | ^~~~ main.cpp:9:8: note: candidate expects 1 argument, 0 provided main.cpp:9:8: note: candidate: 'constexpr Bloc::Bloc(Bloc&&)' main.cpp:9:8: note: candidate expects 1 argument, 0 provided main.cpp: In function 'int main()': main.cpp:60:49: warning: unused variable 'j' [-Wunused-variable] 60 | unsigned int S=0, maxx=0, maxxc=0, maxxl=0, j; | ^