0_0_25273253_6772.cpp: In function 'int sieve(int)':
0_0_25273253_6772.cpp:10:6: error: 'i' was not declared in this scope
for(i=2;i<=n;i++)
^
0_0_25273253_6772.cpp: In function 'int main()':
0_0_25273253_6772.cpp:33:7: error: 'i' was not declared in this scope
for(i=0;i<=k;i++){
^
0_0_25273253_6772.cpp:37:7: error: 'i' was not declared in this scope
for(i=0;i<cnt;i++)
^
|