676 does not count because 676 = 26 * 26 while 26 is not a palindrome.



2014-03-17 20:15 GMT+08:00 Anubhav Sethi <[email protected]>:

> In this problem ( Qualification Round 2013 Problem C. Fair and Square),
> they are asking to calculate all the perfect squares which are palindrome
> also.And as per their Sample testcase :
>
>
> Input
> 3
> 1 4
> 10 120
> 100 1000
>
> Output
> Case #1: 2
> Case #2: 0
> Case #3: 2
>
> In case 3, between 100 and 1000 there are 3 such numbers : 121,484 and 676
> which are square and palindrome too. but here solution is given as 2.
>
> isnt it incorrect
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Code Jam" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-code/0c0bb8ca-1ecf-4d45-ad1a-1c233bb6cd8b%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAGDEU-Kc0pD0Gzk%3DNH98uQnQEVcHbdDqVCpNGbN-J3gbr6Lh_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to