http://www.codechef.com/viewsolution/6016055
this is the link of my submission
Please refer these threads:
- http://discuss.codechef.com/questions/60570/prime1spoj
- http://discuss.codechef.com/questions/60536/segmented_sieve
- Prime Generator code - general - CodeChef Discuss
- PRIME1 wrong answer. - general - CodeChef Discuss
These have all that you want to know!!
Put your code in proper blocks please!!!