@Rammar: 0 <= N, K <= 1000 is standard notation for the pair of inequalities 0 <= N <= 1000 and 0 <= K <= 1000. Dave
On Monday, June 11, 2012 3:50:11 AM UTC-5, rammar wrote: > @Guneesh > But 0<=N , K<=1000 so N^N could be have 1000 digits. > > There is no direct upper bound on N, but there is an upper bound on K > (i.e. K <= 1000). > And we need to check N^N == K, so N^N cant be more than 1000. > > On Monday, June 11, 2012 1:56:13 PM UTC+5:30, Guneesh wrote: >> >> @abhisheikh read the problem statement again...it says 1000 digits not >> 1000 value.. >> >> -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To view this discussion on the web visit https://groups.google.com/d/msg/algogeeks/-/-IE55lphP4sJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
