0_0_39564369_12268.cpp:5:1: error: 'll' does not name a type
5 | ll p[N];
| ^~
0_0_39564369_12268.cpp:6:1: error: 'll' does not name a type
6 | ll k = 1, n, mx = 0;
| ^~
0_0_39564369_12268.cpp: In function 'void dfs(int, int)':
0_0_39564369_12268.cpp:15:5: error: 'mx' was not declared in this scope; did you mean 'x'?
15 | mx = max(sum,mx);
| ^~
| x
0_0_39564369_12268.cpp:19:15: error: 'p' was not declared in this scope
19 | dfs(i,p[i] + sum);
| ^
0_0_39564369_12268.cpp: In function 'void slove()':
0_0_39564369_12268.cpp:26:25: error: 'n' was not declared in this scope
26 | for(int i = 1; i <= n; i++) q[i].clear();
| ^
0_0_39564369_12268.cpp:27:12: error: 'n' was not declared in this scope
27 | cin >> n;
| ^
0_0_39564369_12268.cpp:35:16: error: 'p' was not declared in this scope
35 | cin >> p[i];
| ^
0_0_39564369_12268.cpp:36:16: error: 'k' was not declared in this scope
36 | p[i] = k * 15 / p[i];
| ^
0_0_39564369_12268.cpp:38:5: error: 'mx' was not declared in this scope
38 | mx = 0;
| ^~
0_0_39564369_12268.cpp:40:11: error: 'p' was not declared in this scope
40 | dfs(1,p[1]);
| ^
0_0_39564369_12268.cpp:41:5: error: 'll' was not declared in this scope
41 | ll kk = __gcd(mx,k);
| ^~
0_0_39564369_12268.cpp:42:18: error: 'kk' was not declared in this scope
42 | cout << mx / kk << '/' << k / kk << endl;
| ^~
0_0_39564369_12268.cpp:42:31: error: 'k' was not declared in this scope
42 | cout << mx / kk << '/' << k / kk << endl;
| ^
0_0_39564369_12268.cpp: In function 'int main()':
0_0_39564369_12268.cpp:51:9: error: 'k' was not declared in this scope
51 | k = lcm(k,i);
| ^
|