User profile: suyashsing234

User info
User name:suyashsing234
History
Joined:
Number of posts:262
Latest posts:

My first DP problem
Hi. I solved my first dynamic problem but my answer is coming as wrong on online judge. For the test...

Segmented sieve(Sigfpe)
After using bool nothing is coming in output :( [code] #include<iostream> #include<math.h> #include<...

Segmented sieve(Sigfpe)
@Thomas1965 but how I do I make it work for big numbers? I used long int and in the question, it is ...

Comparator in sort
Thanks. It worked. I didn't know time was a pre-defined function.

Segmented sieve(Sigfpe)
Finally understood segmented sieve and made it work. But on spoj I am getting sigfpe. I can't figure...