network.cpp: In function 'void findRoute(int, int, int)':
network.cpp:6:5: error: 'deque' was not declared in this scope
deque <int> dq;
^~~~~
network.cpp:6:5: note: suggested alternative:
In file included from /usr/include/c++/7/deque:64:0,
from network.cpp:2:
/usr/include/c++/7/bits/stl_deque.h:831:11: note: 'std::deque'
class deque : protected _Deque_base<_Tp, _Alloc>
^~~~~
network.cpp:6:12: error: expected primary-expression before 'int'
deque <int> dq;
^~~
network.cpp:16:5: error: 'dq' was not declared in this scope
dq.push_back(a);
^~
network.cpp:16:5: note: suggested alternative: 'da'
dq.push_back(a);
^~
da
grader.c: In function 'int main()':
grader.c:48:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d%d", &N, &a, &b, &M);
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
grader.c:51:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &distance[u][v]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~