Building Shops HDU - 6024

Building Shops HDU - 6024HDU’s nn classrooms are on a line ,which can be considered as a number line. Each classroom has a coordinate. Now Little Q w...

2018-04-29 22:36:20

阅读数:19

评论数:0

Coprime Sequence HDU - 6025

Coprime Sequence HDU - 6025 Do you know what is called ``Coprime Sequence''? That is a sequence consists of nn positive integers, and the GCD (Greate...

2018-04-29 21:50:16

阅读数:22

评论数:0

Automatic Judge HDU - 6023 (map)

Automatic Judge HDU - 6023 Welcome to HDU to take part in the second CCPC girls’ competition! A new auto...

2018-04-29 20:44:15

阅读数:21

评论数:0

Wrath CodeForces - 892B

 Wrath CodeForces - 892B Hands that shed innocent blood!There are n guilty people in a line, the i-th of t...

2018-04-24 20:10:30

阅读数:16

评论数:0

Marco and GCD Sequence

Marco and GCD SequenceIn a dream Marco met an elderly man with a pair of black glasses. The man told him the key to immortality and then disappeared ...

2018-04-24 17:18:56

阅读数:12

评论数:0

F - quadratic equation (山东省第八届ACM省赛)

F - quadratic equationTime Limit:2000MS    Memory Limit:131072KB    64bit IO Format:%lld & %lluSubmitStatusPracticeSDUT 3898Description W...

2018-04-22 21:33:22

阅读数:18

评论数:0

Find them, Catch them POJ - 1703

Find them, Catch them POJ - 1703 The police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the c...

2018-04-21 22:15:54

阅读数:42

评论数:0

Ubiquitous Religions POJ - 2524(模板题)

 Ubiquitous Religions POJ - 2524There are so many different religions in the world today that it is difficult to keep track of them all. You are inte...

2018-04-21 20:03:55

阅读数:25

评论数:0

食物链 POJ - 1182

食物链 POJ - 1182 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个动物,以1-N编号。每个动物都是A,B,C中的一种,但是我们并不知道它到底是哪一种。 有人用两种说法对这N个动物所构成的食物链关系进行描述: 第一种说法是&...

2018-04-20 22:17:22

阅读数:37

评论数:0

The Suspects POJ - 1611

The Suspects POJ - 1611 Severe acute respiratory syndrome (SARS), an atypical pneumonia of unknown aetiology, was recognized as a global threat in mi...

2018-04-20 21:46:04

阅读数:20

评论数:0

Drying POJ - 3104

                                        Drying  POJ - 3104 It is very hard to wash and especially to dry clothes in winter. But Jane is a very smart ...

2018-04-20 20:50:58

阅读数:22

评论数:0

Train Problem I HDU - 1022 (stack)

 Train Problem I HDU - 1022 As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by t...

2018-04-19 20:17:13

阅读数:17

评论数:0

STL的部分详解:

STL的部分详解set:https://blog.csdn.net/ac_hexin/article/details/52042562map:https://blog.csdn.net/ac_hexin/article/details/52041943vector:https://blog.csd...

2018-04-17 19:51:25

阅读数:14

评论数:0

{A} + {B} (set)

{A} + {B} 给你两个集合,要求{A} + {B}. 注:同一个集合中不会有两个相同的元素.Input每组输入数据分为三行,第一行有两个数字n,m(0<n,m<=10000),分别表示集合A和集合B的元素个数.后两行分别表示集合A和集合B.每个元素...

2018-04-17 19:43:20

阅读数:40

评论数:0

Parentheses Balance(stack)

Parentheses Balance You are given a string consisting of parentheses () and []. A string of this type is said to be correct:(a) if it is the empty st...

2018-04-17 19:08:18

阅读数:11

评论数:0

ACboy needs your help again!(stack和queue)

ACboy was kidnapped!! he miss his mother very much and is very scare now.You can't image how dark the room he was put into is, so poor :(.  As a smar...

2018-04-16 17:18:13

阅读数:13

评论数:0

Cable master

 Cable masterInhabitants of the Wonderland have decided to hold a regional programming contest. The Judging Committee has volunteered and has promise...

2018-04-15 16:50:47

阅读数:40

评论数:1

River Hopscotch

River Hopscotch Every year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a ri...

2018-04-14 14:08:45

阅读数:17

评论数:0

Door Frames CodeForces - 910B

Door Frame CodeForces - 910BPetya has equal wooden bars of length n. He wants to make a frame for two equal doors. Each frame has two vertical (left ...

2018-04-13 21:19:34

阅读数:85

评论数:0

Position in Fraction CodeForces - 900B

Position in Fraction CodeForces - 900B You have a fraction . You need to find the first occurrence of digit c into decimal notation of the fraction a...

2018-04-13 21:04:14

阅读数:35

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭