0_0_37937913_6053.cpp: In function 'void Prime()':
0_0_37937913_6053.cpp:14:21: error: 'cnt' was not declared in this scope
prime[++cnt] = i;
^
0_0_37937913_6053.cpp:15:30: error: 'cnt' was not declared in this scope
for (int j = 1; j <= cnt && prime[j] * i < N; j++)
^
0_0_37937913_6053.cpp: In function 'int main()':
0_0_37937913_6053.cpp:47:34: error: 'cnt' was not declared in this scope
for (int j = 1; j <= cnt && prime[j] <= a[i]; j++)
^
|