Anna.code:7:1: error: ‘queue’ does not name a type
7 | queue<int> q;
| ^~~~~
Anna.code: In function ‘void add(int, int)’:
Anna.code:12:18: error: ‘edge’ was not declared in this scope; did you mean ‘Edge’?
12 | e[en] = (edge){v, h[u]}; h[u] = en++;
| ^~~~
| Edge
Anna.code: In function ‘void Anna(int, int, int, int*, int*)’:
Anna.code:16:9: error: ‘memset’ was not declared in this scope
16 | memset(dis, 0x3f, sizeof(dis));
| ^~~~~~
Anna.code:3:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
2 | #include<vector>
+++ |+#include <cstring>
3 |
Anna.code:20:9: error: ‘q’ was not declared in this scope
20 | q.push(T);
| ^
grader.cpp: In function ‘int main(int, char**)’:
grader.cpp:144:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
144 | scanf("%d%d%d%d", &K, &S, &F, &L);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
grader.cpp:146:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
146 | scanf("%d", &P_[i]);
| ~~~~~^~~~~~~~~~~~~~
grader.cpp:150:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
150 | scanf("%d", &Q_[i]);
| ~~~~~^~~~~~~~~~~~~~