08 2015 档案
摘要:Problem DescriptionCRB has two strings s and t.In each step, CRB can select arbitrary character c of s and insert any character d (d ≠...
阅读全文
摘要:Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2189 Accepted Submission(s)...
阅读全文
摘要:Problem DescriptionMr. Hdu is interested in Greatest Common Divisor (GCD). He wants to find more and more interesting things about GCD...
阅读全文
摘要:Problem DescriptionTeacher Mai is in a maze with n rows and m columns. There is a non-negative number in each cell. Teacher Mai wants ...
阅读全文
摘要:Problem DescriptionTina Town is a friendly place. People there care about each other.Tina has a ball called zball. Zball is magic. It ...
阅读全文
摘要:Problem DescriptionThere are n people and m pairs of friends. For every pair of friends, they can choose to become online friends (com...
阅读全文
摘要:Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2555 Accepted Submission(s)...
阅读全文
摘要:Problem DescriptionOO has got a array A of size n ,defined a function f(l,r) represent the number of i (li) satisfy ai mod aj=0,now OO...
阅读全文
摘要:Problem DescriptionThe reflected binary code, also known as Gray code after Frank Gray, is a binary numeral system where two successiv...
阅读全文
摘要:DescriptionGeorge took sticks of the same length and cut them randomly until all parts became at most 50 units long. Now he wants to r...
阅读全文
摘要:Problem DescriptionZero Escape, is a visual novel adventure video game directed by Kotaro Uchikoshi (you may hear about ever17?) and d...
阅读全文
摘要:Problem DescriptionYou have an n∗n matrix.Every grid has a color.Now there are two types of operating:L x y: for(int i=1;i#include#inc...
阅读全文
摘要:Problem DescriptionGive a time.(hh:mm:ss),you should answer the angle between any two of the minute.hour.second handNotice that the an...
阅读全文
摘要:You are given n k-digit integers. You have to rearrange the digits in the integers so that the difference between the largest and the ...
阅读全文
摘要:Problem DescriptionLillian is a clever girl so that she has lots of fans and often receives gifts from her fans.One day Lillian gets s...
阅读全文
摘要:Problem DescriptionThere are m soda and today is their birthday. The 1-st soda has prepared n cakes with size 1,2,…,n. Now 1-st soda w...
阅读全文
摘要:DescriptionGiven a set of sticks of various lengths, is it possible to join them end-to-end to form a square?InputThe first line of in...
阅读全文
摘要:Alice and Bob love playing one-dimensional battle ships. They play on the field in the form of a line consisting of n square cells (th...
阅读全文
摘要:Problem DescriptionThere are n soda sitting around a round table. soda are numbered from 1 to n and i-th soda is adjacent to (i+1)-th ...
阅读全文
摘要:Problem Descriptionsoda has an integer array a1,a2,…,an. Let S(i,j) be the sum of ai,ai+1,…,aj. Now soda wants to know the value below...
阅读全文
摘要:Problem DescriptionThere are n soda conveniently labeled by 1,2,…,n. beta, their best friends, wants to invite some soda to go hiking....
阅读全文
摘要:Time Limit: 3 Seconds Memory Limit: 32768 KBNow the God is very angry, so he wants to punish the lazy, greedy humans. He chooses ...
阅读全文
摘要:Problem Description 因为马拉松初赛中吃鸡腿的题目让不少人抱憾而归,威威猫一直觉得愧对大家,这几天他悄悄搬到直角坐标系里去住了。 生活还要继续,太阳也照常升起,今天,威威猫在第一象限晒了N条矩形的被子,被子的每条边都和坐标轴平行,不同被子的某些部...
阅读全文
摘要:Accept: 822 Submit: 3560Time Limit: 1000 mSec Memory Limit : 32768 KB Problem DescriptionGiven A,B,C, You should quickly calcula...
阅读全文