network.cpp: In function 'void findRoute(int, int, int)':
network.cpp:13:11: error: 'pinj' was not declared in this scope; did you mean 'ping'?
13 | int y=pinj(b,i);
| ^~~~
| ping
network.cpp:15:23: error: expected '}' before ')' token
15 | u.push_back({x,a));
| ~ ^
network.cpp:15:24: error: expected ';' before ')' token
15 | u.push_back({x,a));
| ^
| ;
network.cpp:30:24: error: '__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'struct std::pair<int, int>'} has no member named 'furst'; did you mean 'first'?
30 | if(pinj(cur,u[i].furst)==0){
| ^~~~~
| first
network.cpp:30:10: error: 'pinj' was not declared in this scope; did you mean 'ping'?
30 | if(pinj(cur,u[i].furst)==0){
| ^~~~
| ping
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]
48 | 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]
51 | scanf("%d", &distance[u][v]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~