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