Category: timus
I am doing a C++ coding exercise, as usual…. And to split a string in C++, the best/easy way is to use the boost library… However, this is not …
The following puzzle is taken from Timus Online Judge and You can submit your solution at this URL: http://acm.timus.ru/problem.aspx?space=1&num=2025 We first compute the average size n/k so we can …
This puzzle (click to submit solution to Timus Online Judge) is interesting. It is like a IQ test question at the beginning. Find out the missing number. The puzzle …
The puzzle is from Timus (submit your solution at this URL http://acm.timus.ru/problem.aspx?space=1&num=2033) There are 6 friends, and the input tells you the names of these friends (useless), the phones …
This simple puzzle is from Timus Online Judge. Despite a lengthy description, the solution is really simple. The number of lines is the number of the seconds he needs …