Alice.cpp:14:12: error: 'd' was not declared in this scope
14 | int C[N],V[d][d],Y[d];
| ^
Alice.cpp:14:15: error: 'd' was not declared in this scope
14 | int C[N],V[d][d],Y[d];
| ^
Alice.cpp:14:20: error: 'd' was not declared in this scope
14 | int C[N],V[d][d],Y[d];
| ^
Alice.cpp: In function 'vpii Alice()':
Alice.cpp:19:25: error: 'd' was not declared in this scope
19 | for(int i = 1; i <= d; ++i)
| ^
Alice.cpp:21:16: error: 'Y' was not declared in this scope
21 | C[i] = Y[i-1] = X % i;
| ^
Alice.cpp:25:24: error: 'd' was not declared in this scope
25 | for(int i = 0; i < d; ++i)
| ^
Alice.cpp:30:13: error: 'V' was not declared in this scope
30 | V[i][j] = a;
| ^
Alice.cpp:34:24: error: 'd' was not declared in this scope
34 | for(int i = 0; i < d; ++i)
| ^
Alice.cpp:37:17: error: 'V' was not declared in this scope
37 | int a = V[i][i];
| ^
Alice.cpp:45:9: error: 'Y' was not declared in this scope
45 | Y[i] = e * Y[i] % p;
| ^
Alice.cpp:55:24: error: 'd' was not declared in this scope
55 | for(int i = 0; i < d; ++i)
| ^
Alice.cpp:61:26: error: 'Y' was not declared in this scope
61 | r = (r + a * Y[j] % p * j % p) % p;
| ^
Bob.cpp: In function 'llong Bob(vpii)':
Bob.cpp:19:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i = 0; i < T.size(); ++i) if(T[i].first < T[i].second) T[i] = {T[i].second, T[i].first};
| ~~^~~~~~~~~~
Bob.cpp:22:20: warning: range-based 'for' loops with initializer only available with '-std=c++2a' or '-std=gnu++2a'
22 | for(int c = 0; auto[a,b]:T)
| ^~~~