--- In [email protected], "Rakibul Islam" <rakib.uiu_...@...> wrote:
>
> 
> 
> Three brilliant school girls walking along see a car hit a cyclist and fled 
> away. They report the matter to the police like this : 
> 
> Girl 1: I couldn't see the entire number of the car, but I remember that it 
> was a four digit number and it's first two digits were divisible by 11
> 
> Girl 2 : I could see only the last two digits of the car's number, and they 
> two formed a number divisible by 11.
> 
> Girl 3 : I saw the hole number but i forgot. But I am sure that the whole 
> number was a perfect square.
> 
> Can you help the police trace the car by a C program?
>


No I can't. But first, the girls are not brilliant at all, probably pyscho.
They are trying to cover up a crime here by coming up with this maths.
The police should interrogate them further and charge them with ... 

</sacarsm>

A logic might be to run through perfect squares (with four digits) 
http://en.wikipedia.org/wiki/Square_number
and check the divisibility of the first two and last two digits.

Lawal.O



Reply via email to