Problem | omnomnom |
---|---|
User | asbx |
Submission Time | 2023-12-16 09:39:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
omnomnom.cpp: In function ‘int main()’:
omnomnom.cpp:46:18: error: no matching function for call to ‘push(std::vector<long long int> [(n + -1)])’
46 | q.push(adjList);
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from omnomnom.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:259:7: note: candidate: ‘void std::queue<_Tp, _Sequence>::push(const value_type&) [with _Tp = long long int; _Sequence = std::deque<long long int, std::allocator<long long int> >; std::queue<_Tp, _Sequence>::value_type = long long int]’ <near match>
259 | push(const value_type& __x)
| ^~~~
/usr/include/c++/9/bits/stl_queue.h:259:7: note: conversion of argument 1 would be ill-formed:
omnomnom.cpp:46:11: error: invalid conversion from ‘std::vector<long long int>*’ to ‘std::queue<long long int>