摘要:
Problem Statement Aoki loves numerical sequences and trees. One day, Takahashi gave him an integer sequence of length N, a1,a2,…,aN, which made him wa 阅读全文
摘要:
Problem Statement One day, Takahashi was given the following problem from Aoki: You are given a tree with N vertices and an integer K. The vertices ar 阅读全文
摘要:
Problem Statement You are participating in a quiz with N+M questions and Yes/No answers. It's known in advance that there are N questions with answer 阅读全文
摘要:
Discription Arkady's code contains nn variables. Each variable has a unique name consisting of lowercase English letters only. One day Arkady decided 阅读全文
摘要:
Discription Moriarty has trapped n people in n distinct rooms in a hotel. Some rooms are locked, others are unlocked. But, there is a condition that t 阅读全文
摘要:
Discription Ivan is fond of collecting. Unlike other people who collect post stamps, coins or other material stuff, he collects software bugs. When Iv 阅读全文