
Implementation
Southan97
本科计算机科学与技术专业,现软件工程专业在读研究生
展开
-
HDU 5292 Pocket Cube
HDU 5292 Pocket Cube Pocket Cube is the 2×2×2 equivalent of a Rubik’s Cube(3×3×3). The cube consists of 8 pieces, all corners. (from wiki) It was a Pocket Cube. Unfortunately, the Cube fell to the ground and broke. It took you some time to explore the con原创 2017-04-10 20:53:20 · 466 阅读 · 0 评论 -
HDU_4585_Shaolin
HDU_4585_Shaolin 题意:少林寺招新,起初只有一个id为1武力值为1000000000的老和尚,现在要招一些新和尚,每个和尚入寺考核要和已经入寺的和尚比武且只和武力值与他相差最小的比武,当有两个和尚与他武力值差值相同时(比如大1和小1)便在这些差值相同的和尚里只和比他小的比武。 思路:用STL中的映射,用武力值作为键,然后找已入寺的和尚比武时用lower_bound原创 2016-10-16 23:02:28 · 803 阅读 · 0 评论 -
HDU_4022_Bombing
HDU_5022_Bombing It’s a cruel war which killed millions of people and ruined series of cities. In order to stop it, let’s bomb the opponent’s base. It seems not to be a hard work in circumstances of street原创 2016-10-16 22:07:29 · 452 阅读 · 0 评论 -
HDU_1263_水果
HDU_1263_水果思路 STL 夏天来了~~好开心啊,呵呵,好多好多水果~~ Joe经营着一个不大的水果店.他认为生存之道就是经营最受顾客欢迎的水果.现在他想要一份水果销售情况的明细表,这样Joe就可以很容易掌握所有水果的销售情况了.原创 2016-10-16 21:42:29 · 497 阅读 · 0 评论 -
HDU_1025_Constructing Roads In JGShining's Kingdom
HDU 1025 二分 Constructing Roads In JGShining's Kingdom原创 2016-07-30 23:39:57 · 630 阅读 · 0 评论 -
POJ_1256_Anagram
POJ_1256_Anagram You are to write a program that has to generate all possible words from a given set of letters. Example: Given the word "abc", your program should - by exploring all different combination of原创 2016-10-16 22:13:41 · 316 阅读 · 0 评论 -
POJ_3518_Prime Gap
POJ 3518 The sequence of n − 1 consecutive composite numbers (positive integers that are not prime and not equal to 1) lying between two successive prime numbers p and p + n is called a prime gap of length n.原创 2016-10-04 18:53:24 · 642 阅读 · 0 评论 -
HDU 5818 Joint Stacks 栈模拟
Joint StacksProblem DescriptionA stack is a data structure in which all insertions and deletions of entries are made at one end, called the "top" of the stack. The last entry which is insert原创 2017-05-03 20:34:06 · 412 阅读 · 0 评论 -
2017 计蒜客 第五场
A. UCloud 机房的网络搭建 B. UCloud 的安全秘钥(简单) C. UCloud 的安全秘钥(中等) C. UCloud 的安全秘钥(困难)原创 2017-06-04 11:22:53 · 404 阅读 · 0 评论