Tag: math
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 …
The LOGO Programming language is fun to learn. It was first designed for teaching children to program as their first programming language. The Turtle Graphics is easy to understand. …
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 …