自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

算法仿如酒心糖,嚼着嚼着就醉了 闲云野鹤

  • 博客(184)
  • 资源 (9)
  • 收藏
  • 关注

原创 ES6开发环境快速搭建

所需工具及说明webpack 用于打包webpack-dev-server 用于检测文件变化hjs-webpack 简化webpack配置的工具安装工具命令npm install -g webpacknpm install -g webpack-dev-server创建项目目录mkdir project && cd $_npm init -ynpm install hjs-webpac

2017-04-13 09:09:14 1564

原创 1106. Lowest Price in Supply Chain (25)【树+深搜】——PAT (Advanced Level) Practise

题目信息1106. Lowest Price in Supply Chain (25)时间限制200 ms 内存限制65536 kB 代码长度限制16000 B A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)– everyone involved in moving a p

2016-05-14 20:52:22 4270

原创 1105. Spiral Matrix (25)【模拟】——PAT (Advanced Level) Practise

题目信息1105. Spiral Matrix (25)时间限制150 ms 内存限制65536 kB 代码长度限制16000 B This time your job is to fill a sequence of N positive integers into a spiral matrix in non-increasing order. A spiral matrix is fil

2016-05-14 20:51:08 4071

原创 1104. Sum of Number Segments (20)【数学题】——PAT (Advanced Level) Practise

题目信息1104. Sum of Number Segments (20)时间限制200 ms 内存限制65536 kB 代码长度限制16000 B Given a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For example, given the sequence

2016-05-14 20:49:54 3784

原创 1103. Integer Factorization (30)【搜索+剪枝】——PAT (Advanced Level) Practise

题目信息1103. Integer Factorization (30)时间限制1200 ms 内存限制65536 kB 代码长度限制16000 B The K-P factorization of a positive integer N is to write N as the sum of the P-th power of K positive integers. You are su

2016-05-14 20:48:33 3738

原创 1102. Invert a Binary Tree (25)【二叉树】——PAT (Advanced Level) Practise

题目信息1102. Invert a Binary Tree (25)时间限制400 ms 内存限制65536 kB 代码长度限制16000 B The following is from Max Howell @twitter:Google: 90% of our engineers use the software you wrote (Homebrew), but you can’t i

2016-05-14 20:46:38 3977

原创 1101. Quick Sort (25)【快排】——PAT (Advanced Level) Practise

题目信息1101. Quick Sort (25)时间限制200 ms 内存限制65536 kB 代码长度限制16000 B There is a classical process named partition in the famous quick sort algorithm. In this process we typically choose one element as the

2016-05-14 20:45:28 3678

原创 1100. Mars Numbers (20)【字符串处理】——PAT (Advanced Level) Practise

题目信息1100. Mars Numbers (20)时间限制400 ms 内存限制65536 kB 代码长度限制16000 B People on Mars count their numbers with base 13:Zero on Earth is called “tret” on Mars. The numbers 1 to 12 on Earch is called “jan,

2016-05-14 20:43:58 3906

原创 1099. Build A Binary Search Tree (30)【二叉树】——PAT (Advanced Level) Practise

题目信息1099. Build A Binary Search Tree (30)时间限制100 ms 内存限制65536 kB 代码长度限制16000 B A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree

2016-05-14 20:41:37 4018

原创 1098. Insertion or Heap Sort (25)【排序】——PAT (Advanced Level) Practise

题目信息1098. Insertion or Heap Sort (25)时间限制100 ms 内存限制65536 kB 代码长度限制16000 BAccording to Wikipedia:Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list

2016-05-14 20:39:45 3613

原创 1097. Deduplication on a Linked List (25)【链表】——PAT (Advanced Level) Practise

题目信息1097. Deduplication on a Linked List (25)时间限制300 ms 内存限制65536 kB 代码长度限制16000 B Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute value

2016-05-14 20:38:05 3556

原创 1096. Consecutive Factors (20)——PAT (Advanced Level) Practise

题目信息1096. Consecutive Factors (20)时间限制400 ms 内存限制65536 kB 代码长度限制16000 B Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored a

2016-05-14 20:36:29 3545

原创 1095. Cars on Campus (30)——PAT (Advanced Level) Practise

题目信息1095. Cars on Campus (30)时间限制220 ms 内存限制65536 kB 代码长度限制16000 B Zhejiang University has 6 campuses and a lot of gates. From each gate we can collect the in/out times and the plate numbers of the

2016-05-14 20:33:08 3878

原创 1094. The Largest Generation (25)【二叉树】——PAT (Advanced Level) Practise

题目信息1094. The Largest Generation (25)时间限制200 ms 内存限制65536 kB 代码长度限制16000 B A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generat

2016-05-14 20:28:26 3455

原创 1093. Count PAT's (25)【计数】——PAT (Advanced Level) Practise

题目信息1093. Count PAT’s (25)时间限制120 ms 内存限制65536 kB 代码长度限制16000 B The string APPAPT contains two PAT’s as substrings. The first one is formed by the 2nd, the 4th, and the 6th characters, and the secon

2016-05-14 20:26:01 3489

原创 1092. To Buy or Not to Buy (20)【水题】——PAT (Advanced Level) Practise

题目信息1092. To Buy or Not to Buy (20)时间限制100 ms 内存限制65536 kB 代码长度限制16000 B Eva would like to make a string of beads with her favorite colors so she went to a small shop to buy some beads. There were m

2016-05-14 20:24:44 3323

原创 1091. Acute Stroke (30)【搜索】——PAT (Advanced Level) Practise

题目信息1091. Acute Stroke (30)时间限制400 ms 内存限制65536 kB 代码长度限制16000 B One important factor to identify acute stroke (急性脑卒中) is the volume of the stroke core. Given the results of image analysis in which

2016-05-14 20:23:20 3266

原创 1090. Highest Price in Supply Chain (25)【树】——PAT (Advanced Level) Practise

题目信息1090. Highest Price in Supply Chain (25)时间限制200 ms 内存限制65536 kB 代码长度限制16000 B A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)– everyone involved in moving a

2016-05-14 20:20:12 3331

原创 1089. Insert or Merge (25)【排序】——PAT (Advanced Level) Practise

题目信息1089. Insert or Merge (25)时间限制200 ms 内存限制65536 kB 代码长度限制16000 BInsertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion so

2016-05-14 20:18:04 3565

原创 1088. Rational Arithmetic (20)——PAT (Advanced Level) Practise

题目信息1088. Rational Arithmetic (20)时间限制200 ms 内存限制65536 kB 代码长度限制16000 B For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, produc

2016-05-14 20:15:08 3172

原创 1087. All Roads Lead to Rome (30)【最短路】——PAT (Advanced Level) Practise

题目信息1087. All Roads Lead to Rome (30)时间限制200 ms 内存限制65536 kB 代码长度限制16000 B Indeed there are many different tourist routes from our city to Rome. You are supposed to find your clients the route with

2016-05-14 20:08:27 4129

原创 1086. Tree Traversals Again (25)【二叉树】——PAT (Advanced Level) Practise

题目信息1086. Tree Traversals Again (25)时间限制200 ms 内存限制65536 kB 代码长度限制16000 B An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-

2016-03-19 01:12:26 2159

原创 1085. Perfect Sequence (25)【二分查找】——PAT (Advanced Level) Practise

题目信息1085. Perfect Sequence (25)时间限制300 ms 内存限制65536 kB 代码长度限制16000 B Given a sequence of positive integers and another positive integer p. The sequence is said to be a “perfect sequence” if M <= m *

2016-03-19 01:10:17 1044

原创 1084. Broken Keyboard (20)【字符串操作】——PAT (Advanced Level) Practise

题目信息1084. Broken Keyboard (20)时间限制200 ms 内存限制65536 kB 代码长度限制16000 B On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys w

2016-03-19 00:41:20 1057

原创 1083. List Grades (25)【水题】——PAT (Advanced Level) Practise

题目信息1083. List Grades (25)时间限制400 ms 内存限制65536 kB 代码长度限制16000 B Given a list of N student records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-incre

2016-03-19 00:40:00 1060

原创 1082. Read Number in Chinese (25)【字符串处理】——PAT (Advanced Level) Practise

题目信息1082. Read Number in Chinese (25)时间限制400 ms 内存限制65536 kB 代码长度限制16000 B Given an integer with no more than 9 digits, you are supposed to read it in the traditional Chinese way. Output “Fu” first

2016-03-19 00:38:25 1518

原创 1081. Rational Sum (20)【模拟】——PAT (Advanced Level) Practise

题目信息1081. Rational Sum (20)时间限制400 ms 内存限制65536 kB 代码长度限制16000 B Given N rational numbers in the form “numerator/denominator”, you are supposed to calculate their sum.Input Specification:Each input

2016-03-19 00:36:46 1269

原创 1080. Graduate Admission (30)【排序】——PAT (Advanced Level) Practise

题目信息1080. Graduate Admission (30)时间限制200 ms 内存限制65536 kB 代码长度限制16000 B It is said that in 2013, there were about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province.

2016-03-19 00:13:35 1068

原创 1079. Total Sales of Supply Chain (25)【树+搜索】——PAT (Advanced Level) Practise

题目信息1079. Total Sales of Supply Chain (25)时间限制250 ms 内存限制65536 kB 代码长度限制16000 B A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)– everyone involved in moving a pr

2016-03-19 00:10:57 1051

原创 1078. Hashing (25)【Hash + 探测】——PAT (Advanced Level) Practise

题目信息1078. Hashing (25)时间限制100 ms 内存限制65536 kB 代码长度限制16000 B The task of this problem is simple: insert a sequence of distinct positive integers into a hash table, and output the positions of the inp

2016-03-19 00:07:13 1113

原创 1077. Kuchiguse (20)【字符串处理】——PAT (Advanced Level) Practise

题目信息1077. Kuchiguse (20)时间限制100 ms 内存限制65536 kB 代码长度限制16000 BThe Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflect

2016-01-09 23:15:21 1305

原创 1076. Forwards on Weibo (30)【树+搜索】——PAT (Advanced Level) Practise

题目信息1076. Forwards on Weibo (30)时间限制3000 ms 内存限制65536 kB 代码长度限制16000 BWeibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as w

2016-01-09 23:12:23 1073

原创 1075. PAT Judge (25)【排序】——PAT (Advanced Level) Practise

题目信息1075. PAT Judge (25)时间限制200 ms 内存限制65536 kB 代码长度限制16000 BThe ranklist of PAT is generated from the status list, which shows the scores of the submittions. This time you are supposed to generate t

2016-01-09 23:07:15 1094

原创 1074. Reversing Linked List (25)【链表翻转】——PAT (Advanced Level) Practise

题目信息1074. Reversing Linked List (25)时间限制400 ms 内存限制65536 kB 代码长度限制16000 BGiven a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, gi

2016-01-02 20:39:51 1465

原创 1073. Scientific Notation (20)【字符串操作】——PAT (Advanced Level) Practise

题目信息1073. Scientific Notation (20)时间限制100 ms 内存限制65536 kB 代码长度限制16000 BScientific notation is the way that scientists easily handle very large numbers or very small numbers. The notation matches the

2016-01-02 20:04:59 1264

原创 1072. Gas Station (30)【最短路dijkstra】——PAT (Advanced Level) Practise

题目信息1072. Gas Station (30)时间限制200 ms 内存限制65536 kB 代码长度限制16000 BA gas station has to be built at such a location that the minimum distance between the station and any of the residential housing is as

2016-01-02 19:59:35 1599

原创 1071. Speech Patterns (25)【字符串操作】——PAT (Advanced Level) Practise

题目信息1071. Speech Patterns (25)时间限制300 ms 内存限制65536 kB 代码长度限制16000 BPeople often have a preference among synonyms of the same word. For example, some may prefer “the police”, while others may prefer “

2015-12-27 23:05:52 1338 1

原创 1070. Mooncake (25)【贪心】——PAT (Advanced Level) Practise

题目信息1070. Mooncake (25)时间限制100 ms 内存限制65536 kB 代码长度限制16000 BMooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be found in

2015-12-27 23:03:26 1271

原创 1069. The Black Hole of Numbers (20)【模拟】——PAT (Advanced Level) Practise

题目信息1069. The Black Hole of Numbers (20)时间限制100 ms 内存限制65536 kB 代码长度限制16000 BFor any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order

2015-12-27 23:01:17 1172

原创 1068. Find More Coins (30)【背包】——PAT (Advanced Level) Practise

题目信息1068. Find More Coins (30)时间限制150 ms 内存限制65536 kB 代码长度限制16000 BEva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopp

2015-12-27 22:56:45 1397

Java5.0API_中文版

Java5.0API_中文版,资源纯正,欢迎下载

2014-09-15

C语言函数大全(语法着色版)

C语言函数大全(语法着色版)C语言函数大全,已包含绝大部分的函数。每个函数包含函数名,功能,用法,举例,内容详尽。

2014-09-15

C语言程序运行速度优化方法谈

C 语言程序运行速度优化方法谈 1、选择合适的算法和数据结构

2014-09-15

C、C++语言参考英文版

C、C++语言参考英文版,包含c和c++的基本所有类库介绍

2014-09-15

ASCII字符集完整版

ascii的字符集完整版本,1-255的字符集的全部解释

2014-09-15

Android Demo

Android的一些示例代码,可以极大方便android的学习进程

2014-09-15

C程序设计语言(第2版·新版)

《C程序设计语言(第2版·新版)》

2014-03-06

C++语言参考.chm

C++语言参考C++语言参考C++语言参考C++语言参考C++语言参考C++语言参考C++语言参考C++语言参考C++语言参考C++语言参考C++语言参考C++语言参考

2011-07-07

VC++之MFC类库中文手册

VC++之MFC类库中文手册 VC++之MFC类库中文手册 VC++之MFC类库中文手册 VC++之MFC类库中文手册 VC++之MFC类库中文手册 VC++之MFC类库中文手册

2011-07-07

空空如也

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

TA关注的人

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