I won't even show you all the balls' colors the only information available to you is that it starts with 999 balls of the pattern RGB RGB RGB. Now, I'll give you a sequence of 60,000 balls. If I gave you the balls "R R G B R G B B", you would place the balls like the following, and tell me "it's green": R R G B R G B B (For example, a B must be placed under a R and a G.) Below two balls of different colors, place a ball of the third color.(For example, a G must be placed under two G's.) Below two balls of the same color, place a ball of that color.Then I ask you to complete the triangle of balls under the following simple rules, and tell me the color of the ball at the last row: You're given a bunch of red (R), green (G), and blue (B) balls. Original source: Problem 1 of British Informatics Olympiad 2017, Round 1
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |