Borderou de evaluare (job #3005415)

Utilizator stefanbejan07Bejan Stefan stefanbejan07 Data 16 martie 2023 22:56:39
Problema Lupul Urias si Rau Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/12.2.1/queue:64, from main.cpp:4: /usr/include/c++/12.2.1/bits/stl_queue.h: In instantiation of 'class std::priority_queue<int, std::vector<std::pair<int, int> >, Sheep>': main.cpp:40:64: required from here /usr/include/c++/12.2.1/bits/stl_queue.h:522:67: error: static assertion failed: value_type must be the same as the underlying container 522 | static_assert(is_same<_Tp, typename _Sequence::value_type>::value, | ^~~~~ /usr/include/c++/12.2.1/bits/stl_queue.h:522:67: note: 'std::integral_constant<bool, false>::value' evaluates to false main.cpp: In function 'void Task()': main.cpp:37:8: warning: unused variable 'R' [-Wunused-variable] 37 | int R = D; | ^ main.cpp:38:8: warning: unused variable 'counter_q' [-Wunused-variable] 38 | int counter_q = 0; | ^~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?