摘要:
Benny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes are placed in these 阅读全文
摘要:
Description Given a positive integer N, you should output the leftmost digit of N^N. Description Given a positive integer N, you should output the lef 阅读全文
摘要:
Year 2118. Androids are in mass production for decades now, and they do all the work for humans. But androids have to go to school to be able to solve 阅读全文
摘要:
Description Big Johnsson Trucks Inc. is a company specialized in manufacturing big trucks. Their latest model, the Godzilla V12, is so big that the am 阅读全文
摘要:
Description Several startup companies have decided to build a better Internet, called the "FiberNet". They have already installed many nodes that act 阅读全文
摘要:
Problem Description The doggie found a bone in an ancient maze, which fascinated him a lot. However, when he picked it up, the maze began to shake, an 阅读全文
摘要:
Description Rudolf is on his way to the castle. Before getting into the castle, the security staff asked him a question: Given two binary numbers aa a 阅读全文
摘要:
Description You are given an integer N. Consider all possible segments (线段,划分)on the coordinate axis with endpoints at integer points with coordinates 阅读全文
摘要:
Description A friend of you is doing research on the Traveling Knight Problem (TKP) where you are to find the shortest closed tour of knight moves tha 阅读全文
摘要:
Description A family consisting of father bear, mother bear and son bear owns three cars. Father bear can climb into the largest car and he likes it. 阅读全文
摘要:
Description Pig is visiting a friend. Pig's house is located at point 0, and his friend's house is located at point m on an axis. Pig can use teleport 阅读全文
摘要:
Description You are given a rooted tree with n vertices. The vertices are numbered from 1 to n, the root is the vertex number 1. Each vertex has a col 阅读全文
摘要:
Description Katya studies in a fifth grade. Recently her class studied right triangles and the Pythagorean theorem. It appeared, that there are triple 阅读全文