摘要:
题目 链接 http://codeforces.com/contest/343/problem/D Description Mad scientist Mike has constructed a rooted tree, which consists of n vertices. Each ver 阅读全文
摘要:
题目 Problem Description Bob recently read about bitwise operations used in computers: AND, OR and XOR. He have studied their properties and invented a 阅读全文
摘要:
题目 Problem Description Alice 和 Bob 总喜欢聚在一起玩游戏(T_T),今天他(她)们玩的是一款新型的取石子游戏。游戏一开始有N堆石子,Alice 和 Bob 轮流取出石子。在每次操作中,游戏者必须选择其中的一堆石子,并作出下列的其中一种操作: (1)移去整堆石子 ( 阅读全文