疯狂的指针
疯狂的指针
全部文章
分类
C/C++(10)
c语言(1)
git(1)
Git教程(2)
IO模型(1)
leetcode(18)
LeetCode题解(3)
Linux(7)
PLC(3)
Python(7)
socket(1)
中国(2)
其他(1)
冒泡排序(1)
动态规划(6)
回溯法(1)
回溯法基础(3)
快速排序(1)
接口(2)
数据结构(5)
未归档(187)
树状数组(1)
浙大PAT-A题目集(30)
浙大PAT-B题目集(23)
深入学习C++(14)
生物(1)
程序员升职记(10)
笔试(2)
经济学人(6)
英语学习(1)
读书笔记(3)
谷歌(1)
归档
标签
去牛客网
登录
/
注册
Vincent's Blog
全部文章
(共355篇)
【python】centos6安装python3
http://www.jianshu.com/p/6199b5c26725
2016-08-13
0
468
图的邻接表表示及其BFS遍历
图的邻接表表示及其BFS遍历 有下面这张图: 假设该图为有向图,边的指向均为小序号指向大序号。那么对该图的BFS遍历如下(假设从序号0的节点开始遍历): 遍历结果应为: a b f c g i d e h BFS遍历类似于树的层序遍历,需要用到队列。下面是程序代码: 1....
2016-08-09
0
415
图的邻接表表示及其DFS遍历
图的邻接表表示及其遍历 1.图的结构定义 #define MAXVEX 100 #define true 1 typedef char VertexType; //定义图节点值得类型,可随意更换 typedef int EdgeType; typedef st...
2016-08-08
0
519
PAT-A 1024. Palindromic Number
1024. Palindromic Number A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For example, 12343...
2016-08-04
0
434
PAT-A 1019. General Palindromic Number
1019. General Palindromic Number A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. For exampl...
2016-08-03
0
460
PAT-B 1055. 集体照
1055. 集体照 拍集体照时队形很重要,这里对给定的N个人K排的队形设计排队规则如下: 每排人数为N/K(向下取整),多出来的人全部站在最后一排; 后排所有人的个子都不比前排任何人矮; 每排中最高者站中间(中间位置为m/2+1,其中m为该排人数,除法向下取整); 每排其他人以...
2016-08-03
0
487
PAT-B 1048. 数字加密
1048. 数字加密 本题要求实现一种数字加密方法。首先固定一个加密用正整数A,对任一正整数B,将其每1位数字与A的对应位置上的数字进行以下运算:对奇数位,对应位的数字相加后对13取余——这里用J代表10、Q代表11、K代表12;对偶数位,用B的数字减去A的数字,若结果为负数,则再加10。这里令个...
2016-08-03
0
474
PAT-B 1007.素数对猜想
#1007. 素数对猜想 让我们定义 d n d_n ...
2016-08-03
0
393
PAT-A 1048. Find Coins
1048. Find Coins Eva loves to collect coins from all over the universe, including some other planets like Mars. One day she visited a universal shopp...
2016-08-03
0
525
PAT-A 1037. Magic Coupon
1037. Magic Coupon The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this ...
2016-08-03
0
607
首页
上一页
7
8
9
10
11
12
13
14
15
16
下一页
末页