*博客头图：

RGB颜色，例如：#AFAFAF

Hover：

RGB颜色，例如：#AFAFAF

RGB颜色，例如：#AFAFAF

# ACM！荣耀之路！

【已退役】

• 博客(997)
• 资源 (15)
• 收藏
• 关注

#### 原创 BAPC2014 J&&HUNNU11590:Jury Jeopardy

2015-08-13 00:07:51 3566

#### 原创 BAPC2014 G&&HUNNU11587:Growling Gears

2015-08-13 00:04:04 2053

#### 原创 BAPC2014 K&&HUNNU11591:Key to Knowledge(中途相遇法)

2015-08-12 23:59:08 1902

#### 原创 BAPC2014 I&&HUNNU11589:Interesting Integers

2015-08-12 23:44:37 1479

#### 原创 BAPC2014 E&&HUNNU11585:Excellent Engineers(线段树)

2015-08-12 23:37:21 1640

2015-08-12 23:32:05 1279 1

#### 原创 BAPC2014 B&&HUNNU11582:Button Bashing(BFS)

2015-08-12 23:17:05 1418

#### 原创 HNU13383:The Big Painting

Problem descriptionSamuel W. E. R. Craft is an artist with a growing reputation. Unfortunately, the paintings he sells do not provide him enough money for his daily expenses plus the new suppl

2015-08-10 19:57:00 2765

#### 原创 HNU13377:Book Club(DFS)

Problem descriptionPorto’s book club is buzzing with excitement for the annual book exchange event! Every year, members bring their favorite book and try to find another book they like that is

2015-08-10 19:50:42 1697 1

#### 原创 HNU11376:Golf Bot

Problem descriptionInputThe first line has one integer: N, the number of different distances the Golf Bot can shoot. Each of the following N lines has one integer, ki, the di

2015-08-10 19:47:31 1398

#### 原创 HNU11374:GREAT+SWERC=PORTO(DFS)

Problem descriptionWe want to have a great SWERC at Porto this year and we approached this challenge in several ways. We even framed it as a word addition problem, similar to the classic SEND+

2015-08-10 19:41:48 1773 1

#### 原创 hunnu11562:The Triangle Division of the Convex Polygon(第n个卡特兰数取模)

Problem description  A convex polygon with n edges can be divided into several triangles by some non-intersect diagonals. We denote d(n) is the number of the different ways to divide the convex

2015-08-08 21:03:46 1725

#### 原创 HDU5363:Key Set

Problem Descriptionsoda has a set S with n integers {1,2,…,n}. A set is called key set if the sum of integers in the set is an even number. He wants to know how many nonempty subsets of S are

2015-08-07 11:36:43 1725 1

#### 原创 HDU5353:Average(贪心)

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 soda, 1-st soda is adjacent to n-th soda.Each so

2015-08-07 11:30:58 2384

#### 原创 HDU4647:Another Graph Game(贪心)

Problem DescriptionAlice and Bob are playing a game on an undirected graph with n (n is even) nodes and m edges. Every node i has its own weight Wv, and every edge e has its own weight We.They

2015-07-17 16:34:11 1770

#### 原创 HDU4649:Professor Tian(概率)

Problem DescriptionTimer took the Probability and Mathematical Statistics course in the 2012, But his bad attendance angered Professor Tian who is in charge of the course. Therefore, Professor Tia

2015-07-17 16:30:27 1338

#### 原创 HDU4634:Swipe Bo(BFS+状压)

Problem Description“Swipe Bo” is a puzzle game that requires foresight and skill. The main character of this game is a square blue tofu called Bo. We can swipe up / down / left / right to move B

2015-07-14 12:19:30 1350

#### 原创 HDU4638:Group(线段树离线处理)

Problem DescriptionThere are n men ,every man has an ID(1..n).their ID is unique. Whose ID is i and i-1 are friends, Whose ID is i and i+1 are friends. These n men stand in line. Now we select an

2015-07-14 12:14:15 1752

#### 原创 HDU4642:Fliping game

Problem DescriptionAlice and Bob are playing a kind of special game on an N*M board (N rows, M columns). At the beginning, there are N*M coins in this board with one in each grid and every coin ma

2015-07-14 12:12:13 1596

#### 原创 HDU4639:Hehe

Problem DescriptionAs we all know, Fat Brother likes MeiZi every much, he always find some topic to talk with her. But as Fat Brother is so low profile that no one knows he is a rich-two-generatio

2015-07-14 12:04:15 1582

#### 原创 HDU4630:No Pain No Game(线段树)

Problem DescriptionLife is a game,and you lose it,so you suicide.But you can not kill yourself before you solve this problem:Given you a sequence of number a1, a2, ..., an.They are also a perm

2015-07-05 23:36:42 1585

#### 原创 HDU4622:Reincarnation(后缀数组，求区间内不同子串的个数)

Problem DescriptionNow you are back,and have a task to do:Given you a string s consist of lower-case English letters only,denote f(s) as the number of distinct sub-string of s.And you have som

2015-07-05 23:32:17 4101

#### 原创 Codeforces554E:Love Triangles

There are many anime that are about "love triangles": Alice loves Bob, and Charlie loves Bob as well, but Alice hates Charlie. You are thinking about an anime which has n characters. The characters

2015-06-26 21:29:17 1853 2

#### 原创 Codeforces554D:Kyoya and Permutation

Let's define the permutation of length n as an array p = [p1, p2, ..., pn] consisting of n distinct integers from range from 1 to n. We say that this permutation maps value 1 into the value p1,

2015-06-26 18:06:31 1751

#### 原创 Codeforces554C:Kyoya and Colored Balls(组合数学+费马小定理)

Kyoya Ootori has a bag with n colored balls that are colored with k different colors. The colors are labeled from 1 to k. Balls of the same color are indistinguishable. He draws balls from the bag

2015-06-26 15:07:29 2786

#### 原创 Codeforces554B:Ohana Cleans Up

Ohana Matsumae is trying to clean a room, which is divided up into an n by n grid of squares. Each square is initially either clean or dirty. Ohana can sweep her broom over columns of the grid. Her

2015-06-26 14:57:35 1521

#### 原创 Codeforces554A:Kyoya and Photobooks

Kyoya Ootori is selling photobooks of the Ouran High School Host Club. He has 26 photos, labeled "a" to "z", and he has compiled them into a photo booklet with some photos in some order (possibly with

2015-06-26 14:54:49 1464

#### 原创 POJ3321:Apple Tree(树状数组)

DescriptionThere is an apple tree outside of kaka's house. Every autumn, a lot of apples will grow in the tree. Kaka likes apple very much, so he has been carefully nurturing the big apple tree.

2015-06-25 11:16:06 6766 4

#### 原创 POJ2155:Matrix(二维树状数组，经典)

DescriptionGiven an N*N matrix A, whose elements are either 0 or 1. A[i, j] means the number in the i-th row and j-th column. Initially we have A[i, j] = 0 (1 We can change the matrix in the f

2015-06-24 12:17:51 4428 4

#### 原创 SGU180:Inversions(树状数组)

There are N integers (1A[j].InputThe first line of the input contains the number N. The second line contains N numbers A1...AN.OutputWrite amount of such pairs.Sample test(s)

2015-06-24 09:46:00 1175

#### 原创 POJ2029:Get Many Persimmon Trees(二维树状数组)

DescriptionSeiji Hayashi had been a professor of the Nisshinkan Samurai School in the domain of Aizu for a long time in the 18th century. In order to reward him for his meritorious career in educa

2015-06-23 22:18:29 1331

#### 原创 POJ3067:Japan(树状数组求逆序对)

DescriptionJapan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the venue. Japan is tall island with N cities on the East coast and M cities on the West coast (M <

2015-06-23 21:38:11 3372

#### 原创 POJ2481：Cows(树状数组)

DescriptionFarmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his field is particularly good.

2015-06-23 20:22:04 2135

#### 原创 CSU1657: Ways

Description有一个n*n的正整数矩阵，要你求一条从第一行第一列的格子到第n行第n列的路，使得你走过的格子里面的数乘起来的值末尾的零的个数最小。输出最小个数。Input第一行包含1个数n。接下来n行每行n个数字。Output一个数字表示末尾零最小个数。Sample Input31 2 34 5 67

2015-06-22 22:03:09 741

#### 原创 CSU1661: Query Mutiple

DescriptionOne day，Little-Y saw many numbers standing in a row. A question suddenly appeared in her mind, ”From the L-th number to the R-th number, how many of them is a mutiple of P ? (P is a p

2015-06-22 21:58:52 975

#### 原创 CSU1660: K-Cycle

DescriptionA simple cycle is a closed simple path, with no other repeated vertices or edges other than the starting and ending vertices. The length of a cycle is the number of vertices on it. Gi

2015-06-22 21:54:39 1362 3

#### 原创 CSU1664: 防水堤坝

Description在太平洋的一个小岛上，岛民想要建立一个环岛的堤坝，我们可以将小岛简化为一个二维平面，你需要使用K条边（这些边要么是水平或者垂直长度为1的边，要么是45度倾斜的长度为√2的边）围成一个多边形，多边形的顶点必须位于整点，然后要让围成的多边形面积最大，你需要求出最大面积是多少。Input输入包含多个测试实例，每组实例给出一个数K。（3≤K≤200

2015-06-22 21:51:47 2288

#### 原创 CSU1656: Paper of FlyBrother(后缀数组)

DescriptionFlyBrother is a superman, therefore he is always busy saving the world. To graduate from NUDT is boring but necessary for him. Typically We need to post an paper to get Graduate Cer

2015-06-22 21:46:21 1002

#### 原创 CSU1659: Graph Center(最短路)

DescriptionThe center of a graph is the set of all vertices of minimum eccentricity, that is, the set of all vertices A where the greatest distance d(A,B) to other vertices B is minimal. Equival

2015-06-22 21:44:14 1171

#### 原创 POJ1195:Mobile phones(二维树状数组)

DescriptionSuppose that the fourth generation mobile phone base stations in the Tampere area operate as follows. The area is divided into squares. The squares form an S * S matrix with the rows an

2015-06-21 21:19:12 3452

《数值分析》课后答案

2015-07-02

2015-07-02

2015-06-29

2013-12-29

C++函数库

2013-12-29

2013-12-29

《数据结构》课程设计公园导游图

2013-12-29

2013-06-08

#### 《数据结构》 严蔚敏的全部代码实现（C语言）

《数据结构》 严蔚敏的全部代码实现

2013-06-08

ACM必做50题的解题

2013-06-08

2013-06-08

2013-06-08

#### 叶核亚 java程序设计实用教程 第三版课后答案

Java程序设计实用教程（第3版） (叶核亚) 电子工业出版社 案例及素材

2013-03-09

#### 计算机程序设计艺术

2012-10-20

###### 空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人