[gcj] Re: Problem C "Welcome to Code Jam"

2009-09-08 Thread Pratyush
In case, you have used recursion, just try and check if you have used dynamic programming/ memoization or not.. In case you haven't, your code will run for years and not show an output.. :P Regards, Pratyush On Sep 5, 1:59 am, Bey wrote: > Hi > I noticed that there are a large numbe

[gcj] UVa 670

2010-06-20 Thread Pratyush Verma
can any1 please post the solution to question number 670 in UVa Online Judge http://uva.onlinejudge.org/external/6/670.html I get "Wrong Answer" after the code runs for 2.8 sec properly.. #include #include #include #include #include #include #include #include #include #include #include