Anna.code: In function ‘void Anna(int, int, int, int*, int*)’:
Anna.code:23:25: error: ‘Anna’ is not a namespace-name
23 | using namespace Anna;
| ^~~~
Anna.code:25:9: error: ‘n’ was not declared in this scope; did you mean ‘A::n’?
25 | n = n_;
| ^
| A::n
Anna.code:8:13: note: ‘A::n’ declared here
8 | int n, t;
| ^
Anna.code:26:9: error: ‘t’ was not declared in this scope; did you mean ‘A::t’?
26 | t = t_;
| ^
| A::t
Anna.code:8:16: note: ‘A::t’ declared here
8 | int n, t;
| ^
Anna.code:29:17: error: ‘e’ was not declared in this scope; did you mean ‘A::e’?
29 | e[u].emplace_back(v);
| ^
| A::e
Anna.code:9:21: note: ‘A::e’ declared here
9 | vector<int> e[N];
| ^
Anna.code:32:9: error: ‘dfs’ was not declared in this scope; did you mean ‘A::dfs’?
32 | dfs(t, 0, 0);
| ^~~
| A::dfs
Anna.code:11:14: note: ‘A::dfs’ declared here
11 | void dfs(int u, int fa, int dis) {
| ^~~
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]);
| ~~~~~^~~~~~~~~~~~~~