摘要:
Description 题目描述 Given N integers A={A[0],A[1],...,A[N-1]}. Here we have some operations: Operation 1: AND opn L R Here opn, L and R are integers. For 阅读全文
摘要:
Description 题目描述 Recently, you have found your interest in string theory. Here is an interesting question about strings. You are given a string S of l 阅读全文
摘要:
Problem Description 题目描述 ZB loves watching RunningMan! There's a game in RunningMan called 100 vs 100. There are two teams, each of many people. There 阅读全文
摘要:
Description 题目描述 ZB is playing a card game where the goal is to make straights. Each card in the deck has a number between 1 and M(including 1 and M). 阅读全文
摘要:
【Description】 【题目描述】 While HIT ACM Group finished their contest in Shanghai and is heading back Harbin, their train was delayed due to the heavy snow. 阅读全文
摘要:
Description 题目描述 ZB loves playing StarCraft and he likes Zerg most! One day, when ZB was playing SC2, he came up with an idea: He wants to change the 阅读全文
摘要:
Description 题目描述 Two different circles can have at most four common tangents. The picture below is an illustration of two circles with four common tan 阅读全文
摘要:
Description 题目描述 You are given an polynomial of x consisting of only addition marks, multiplication marks, brackets, single digit numbers, and of cour 阅读全文
摘要:
Description 题目描述 Given a set of n items, each with a weight w[i] and a value v[i], determine a way to choose the items into a knapsack so that the tot 阅读全文
摘要:
Description 题目描述 It's Saturday today, what day is it after 11 + 22 + 33 + ... + NN days? 今天是星期六,11 + 22 + 33 + ... + NN 天后是星期几? Input 输入 There are mul 阅读全文