Borderou de evaluare (job #3256899)

Utilizator BogdanBurescuBogdan Burescu BogdanBurescu Data 16 noiembrie 2024 11:23:59
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala 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:2: /usr/include/c++/12.2.1/bits/stl_queue.h: In instantiation of 'class std::priority_queue<std::pair<int, int>, std::vector<std::pair<int, std::pair<int, int> > >, std::greater<std::pair<int, std::pair<int, int> > > >': main.cpp:43:101: 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 Non zero exit status: 1

Ceva nu functioneaza?