Compilation Error

Segmented Prime Sieve, on submitting is giving compilation error, although I’ve tried submitting the same code Prateek bhaiya did.

I think there’s a part missing here in the video because I saw compilation error for him too but at the very next moment, it gets suddenly resolved.
Please help me out with this code.

Also tried with GCC but the same problem arose.

Hey @tgoel5884
Please share ur code in Coding Blocks Ide so that I can edit and debug :slight_smile:

Here’s my code.

Hey @tgoel5884
Mentioned the changes in comments : https://ide.codingblocks.com/s/380165 :slight_smile:

If this resolves ur query then please mark it as resolved :slight_smile:

It worked just need to add long int, thank you so much.

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.