This puzzle is from Timus Online Judge and you can submit your solution here. The first line of the input is an integer containing the number of total tests, …
Python programming language provides a neat syntax to reverse a string, tuple (a read-only list, immutable) or a list (array). The syntax is var which returns a reverse copy of the var. …
This problem is from Timus Online Judge. The original problem description can be found here. Again, this problem is marked as for ‘High School Pupils’, which means it very …
The problem is from Timus Online Judge. Den only has two locks. He never uses the same lock two days in a row. Therefore, if the thief wants to …
The problem is from Timus Online Judge It is a simple and easy exercise, you should output correct word depending on the input integer. No much thing to mess …