Borderou de evaluare (job #2714436)

Utilizator alexradu04Radu Alexandru alexradu04 Data 1 martie 2021 20:01:36
Problema Rover Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:2:0: warning: ignoring #pragma GCC optimise [-Wunknown-pragmas] #pragma GCC optimise("O3") main.cpp: In function 'void makeBfsMat(int)': main.cpp:14:28: error: no matching function for call to 'std::deque<std::pair<int, int> >::push_back(int, int)' bfsQueue.push_back(1, 1); ^ In file included from /usr/include/c++/6/deque:64:0, from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:68, from main.cpp:1: /usr/include/c++/6/bits/stl_deque.h:1517:7: note: candidate: void std::deque<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::deque<_Tp, _Alloc>::value_type = std::pair<int, int>] push_back(const value_type& __x) ^~~~~~~~~ /usr/include/c++/6/bits/stl_deque.h:1517:7: note: candidate expects 1 argument, 2 provided /usr/include/c++/6/bits/stl_deque.h:1532:7: note: candidate: void std::deque<_Tp, _Alloc>::push_back(std::deque<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<int, int>; _Alloc = std::allocator<std::pair<int, int> >; std::deque<_Tp, _Alloc>::value_type = std::pair<int, int>] push_back(value_type&& __x) ^~~~~~~~~ /usr/include/c++/6/bits/stl_deque.h:1532:7: note: candidate expects 1 argument, 2 provided Non zero exit status: 1

Ceva nu functioneaza?