CodeChef Puzzle | පුලුවන්නම් විසදන්න
Your CodeChef Puzzle of the Month:
Consider two stations A and B located 100 kilometres apart. There is a station C, located between A and B. Now trains from station A and B start moving towards station C at different speeds. The
train starting from A moves at 40 km/h while the train starting
from B moves at 60 km/h. These trains have to stop at station C.
A bird also starts from station B and flies at a speed of 80 km/h
towards station A. When it reaches the train coming from station
A, it switches direction – flying back towards station B and when
it reaches the train coming from station B, it turns around again,
heading towards the direction of station A. This goes on for some
time till both the trains reach station C.
What is the total distance covered by the bird in the time it takes for the two trains to reach station C?
answer එක step by step explain කරන්න pseudo code use කරන්න පුලුවන්නම් තවත් හොඳයි
ගොඩ දාගන්න පුලුවන් වුනොත්
Send in your answer by April 15, 2012 to [email protected] or [email protected].
Analytical skills, problem solving skills වර්ධනය කරගන්න ඔනේ නම් මේකෙ තව ගොඩාක් puzzles තියනවා කරල බලන්න.
http://www.codechef.com/
train starting from A moves at 40 km/h while the train starting
from B moves at 60 km/h. These trains have to stop at station C.
A bird also starts from station B and flies at a speed of 80 km/h
towards station A. When it reaches the train coming from station
A, it switches direction – flying back towards station B and when
it reaches the train coming from station B, it turns around again,
heading towards the direction of station A. This goes on for some
time till both the trains reach station C.
What is the total distance covered by the bird in the time it takes for the two trains to reach station C?
answer එක step by step explain කරන්න pseudo code use කරන්න පුලුවන්නම් තවත් හොඳයි
ගොඩ දාගන්න පුලුවන් වුනොත්
Send in your answer by April 15, 2012 to [email protected] or [email protected].
Analytical skills, problem solving skills වර්ධනය කරගන්න ඔනේ නම් මේකෙ තව ගොඩාක් puzzles තියනවා කරල බලන්න.
http://www.codechef.com/