Professional Documents
Culture Documents
Clock shows 'h' hours, 'm' minutes and 's' seconds after midnight.
Your task is to make 'Past' function which returns time converted to milliseconds.
Input constraints: 0 <= h <= 23, 0 <= m <= 59, 0 <= s <= 59
Vortus
In this little assignment you are given a string of space separated numbers, and have
to return the highest and lowest number.
Notes:
Deantwo
Backspaces in string
vetalpaprotsky
Consecutive k-Primes
Task:
g964
Problem Description
A coloured triangle is created from a row of colours, each of which is red, green or
blue. Successive rows, each containing one fewer colour than the last, are generated
by considering the two touching colours in the previous row. If these colours are
identical, the same colour is used in the new row. If they are different, the missing
colour is used in the new row. This is continued until the final row, with only a
single colour, is generated.
You will be given the first row of the triangle as a string and its your job to return
the final colour which would appear in the bottom row as a string. In the case of the
example above, you would be given 'RRGBRGBB', and you should return 'G'.
Bubbler