CODE NOT WORKING

if u could tell me what is wrong with my code https://ide.codingblocks.com/s/240385

@sshreya2912
you are not calling sieve() function, call it at starting of main.
Also the value of n is greater than the size of bitset, correct it.

@sshreya2912
If you are to solve it now then please mark the doubt as resolved otherwise you can ask your query.

thanks, my doubt was stupid

1 Like