Tag: C/C++
The puzzle is from Timus Online Judge. Despite detailed description, which may be confusing, the puzzle is really simple to solve. It asks you to find out the identical …
This puzzle from Timus Online Judge is interesting and kinda practical in reality. This problem can be used to study the traffic jams. Put it simpler in other words. …
The problem is from Codeforces: The number of trailing zeros can be computed by checking the number of divisors (2 and 5) for all numbers. The minimal divisor number …
This problem is from Timus Online Judge. The original problem description can be found here. There are k steaks that can be cooked at the same time. So …
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 …