rings.cpp: In function 'void Init(int)':
rings.cpp:12:3: error: 'n' was not declared in this scope; did you mean 'yn'?
12 | n = (long long)N_;
| ^
| yn
rings.cpp:13:3: error: 'Grafo' was not declared in this scope
13 | Grafo.assign(n, vector<long long>());
| ^~~~~
rings.cpp: In function 'void Link(long long int, long long int)':
rings.cpp:18:5: error: 'gra' was not declared in this scope
18 | gra[A].push_back(B);
| ^~~
rings.cpp:20:5: error: 'grado' was not declared in this scope
20 | grado[A]++;
| ^~~~~
rings.cpp: In function 'void dfs(long long int)':
rings.cpp:25:5: error: 'visitado' was not declared in this scope
25 | visitado[nodo] = true;
| ^~~~~~~~
rings.cpp:26:24: error: 'gra' was not declared in this scope
26 | for(auto &vecino : gra[nodo]){
| ^~~
rings.cpp: In function 'bool esCadena(long long int)':
rings.cpp:34:10: error: 'visitado' was not declared in this scope
34 | fill(visitado.begin(), visitado.end(), false);
| ^~~~~~~~
rings.cpp:36:14: error: 'N' was not declared in this scope
36 | ff(i, 0, N){
| ^
rings.cpp:6:40: note: in definition of macro 'ff'
6 | #define ff(i, p, x) for (ll i = p; i < x; i++)
| ^
rings.cpp: In function 'int CountCritical()':
rings.cpp:48:14: error: 'N' was not declared in this scope
48 | ff(i, 0, N){
| ^
rings.cpp:6:40: note: in definition of macro 'ff'
6 | #define ff(i, p, x) for (ll i = p; i < x; i++)
| ^
rings.cpp:49:12: error: 'grado' was not declared in this scope
49 | if(grado[i] <= 2){
| ^~~~~