0_0_32340946_7406.cpp: In function 'void GetSum()':
0_0_32340946_7406.cpp:2:23: error: 'maxn' was not declared in this scope
for (int i = 1; i <= maxn; i++)ans[i] = 1, num[i] = i;
^
0_0_32340946_7406.cpp:2:33: error: 'ans' was not declared in this scope
for (int i = 1; i <= maxn; i++)ans[i] = 1, num[i] = i;
^
0_0_32340946_7406.cpp:2:45: error: 'num' was not declared in this scope
for (int i = 1; i <= maxn; i++)ans[i] = 1, num[i] = i;
^
0_0_32340946_7406.cpp:4:18: error: 'prime' was not declared in this scope
for (int i = 0; prime[i]*prime[i]<=maxn; i++) {
^
0_0_32340946_7406.cpp:4:37: error: 'maxn' was not declared in this scope
for (int i = 0; prime[i]*prime[i]<=maxn; i++) {
^
0_0_32340946_7406.cpp:8:12: error: 'num' was not declared in this scope
m = n = num[j];
^
0_0_32340946_7406.cpp:13:4: error: 'ans' was not declared in this scope
ans[j] = ans[j] * (m / n / p * g * (p - 1) + m / n) % mod;
^
0_0_32340946_7406.cpp:13:58: error: 'mod' was not declared in this scope
ans[j] = ans[j] * (m / n / p * g * (p - 1) + m / n) % mod;
^
0_0_32340946_7406.cpp:17:23: error: 'maxn' was not declared in this scope
for (int i = 1; i <= maxn; i++)
^
0_0_32340946_7406.cpp:18:7: error: 'num' was not declared in this scope
if (num[i] > 1)
^
0_0_32340946_7406.cpp:19:4: error: 'ans' was not declared in this scope
ans[i] = ans[i] * (2 * num[i] - 1) % mod;
^
0_0_32340946_7406.cpp:19:41: error: 'mod' was not declared in this scope
ans[i] = ans[i] * (2 * num[i] - 1) % mod;
^
0_0_32340946_7406.cpp:20:2: error: 'LL' was not declared in this scope
LL s = 3;
^
0_0_32340946_7406.cpp:21:23: error: 'maxn' was not declared in this scope
for (int i = 1; i <= maxn; i++) {
^
0_0_32340946_7406.cpp:22:3: error: 's' was not declared in this scope
s += 3;
^
0_0_32340946_7406.cpp:23:3: error: 'sum' was not declared in this scope
sum[i] =(sum[i-1]+i+ s * ans[i] % mod)%mod;
^
0_0_32340946_7406.cpp:23:28: error: 'ans' was not declared in this scope
sum[i] =(sum[i-1]+i+ s * ans[i] % mod)%mod;
^
0_0_32340946_7406.cpp:23:37: error: 'mod' was not declared in this scope
sum[i] =(sum[i-1]+i+ s * ans[i] % mod)%mod;
^
|