摘要:
Farmer John wants to set up a telephone line at his farm. Unfortunately, the phone company is uncooperative, so he needs to pay for some of the cables 阅读全文
摘要:
Bessie noted that although humans have many universities they can attend, cows have none. To remedy this problem, she and her fellow cows formed a new 阅读全文
摘要:
Problem Description Here N (N ≥ 3) rabbits are playing by the river. They are playing on a number line, each occupying a different integer. In a singl 阅读全文
摘要:
Problem Description Little boxes on the hillside. Little boxes made of ticky tacky. Little boxes. Little boxes. Little boxes all the same. There are a 阅读全文
摘要:
Olya loves energy drinks. She loves them so much that her room is full of empty cans from energy drinks. Formally, her room can be represented as a fi 阅读全文
摘要:
You are given a multiset of n integers. You should select exactly k of them in a such way that the difference between any two of them is divisible by 阅读全文
摘要:
While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one way path tha 阅读全文
摘要:
The cows have been making movies lately, so they are ready to play a variant of the famous game "Six Degrees of Kevin Bacon". The game works like this 阅读全文