0_0_18020224_18098.cpp:6:13: error: 'MAXN' was not declared in this scope
long long v[MAXN], prime[MAXN];
^
0_0_18020224_18098.cpp:6:26: error: 'MAXN' was not declared in this scope
long long v[MAXN], prime[MAXN];
^
0_0_18020224_18098.cpp: In function 'void GetPrime(int)':
0_0_18020224_18098.cpp:13:10: error: 'v' was not declared in this scope
if (!v[i])
^
0_0_18020224_18098.cpp:14:7: error: 'prime' was not declared in this scope
prime[TotalPrime++] = i;
^
0_0_18020224_18098.cpp:15:40: error: 'prime' was not declared in this scope
for (int j = 0; j <= TotalPrime && prime[j] * i < n; j++)
^
0_0_18020224_18098.cpp:17:7: error: 'v' was not declared in this scope
v[prime[j] * i] = 1;
^
0_0_18020224_18098.cpp: In function 'long long int IsMod(long long int*, int, long long int)':
0_0_18020224_18098.cpp:27:10: error: 'prime' was not declared in this scope
while (prime[j] < L)
^
0_0_18020224_18098.cpp: In function 'int main()':
0_0_18020224_18098.cpp:46:12: error: 'MAXN' was not declared in this scope
GetPrime(MAXN);
^
0_0_18020224_18098.cpp:52:37: error: 'memset' was not declared in this scope
memset(number, 0, sizeof(number));
^
|