2018年9月7日

GIS输出PDF为什么标注有问题

摘要: 问题描述:ArcGis将地图输出为PDF时,标注字体显示为像字母O一样的圈圈 解决办法:将标注字体改为中文字体,如宋体(仅供参考) 阅读全文

posted @ 2018-09-07 15:56 帝孤 阅读(359) 评论(0) 推荐(0) 编辑

2017年12月11日

连接字符串(长度有限的字符串)

摘要: #include #include #include using namespace std; #define len 255 char* strcat(char *a, char *b){ int lena = sizeof(a); int lenb = sizeof(b); for(int i = lena-1; i > a; cout > b; s... 阅读全文

posted @ 2017-12-11 21:43 帝孤 阅读(154) 评论(0) 推荐(0) 编辑

2017年12月9日

质因数递归分解

摘要: #include "stdio.h" #include #include #include using namespace std; int Prime(int number){ for(int i = 2; i > number; cout << "the result is :number = "; PrimeFactor(number); cout ... 阅读全文

posted @ 2017-12-09 20:57 帝孤 阅读(682) 评论(0) 推荐(0) 编辑

2017年12月6日

二叉树的构建及后序遍历

摘要: #include"stdio.h" #include"stdlib.h" #include using namespace std; typedef char ElemType; typedef struct BiTNode{ ElemType data; struct BiTNode *lchild, *rchild; }BiTNode, *BiTree; void Cr... 阅读全文

posted @ 2017-12-06 10:14 帝孤 阅读(245) 评论(0) 推荐(0) 编辑

2015年8月21日

hd 2112 HDU Today

摘要: Problem Description经过锦囊相助,海东集团终于度过了危机,从此,HDU的发展就一直顺风顺水,到了2050年,集团已经相当规模了,据说进入了钱江肉丝经济开发区500强。这时候,XHD夫妇也退居了二线,并在风景秀美的诸暨市浬浦镇陶姚村买了个房子,开始安度晚年了。这样住了一段时间,徐总对... 阅读全文

posted @ 2015-08-21 10:56 帝孤 阅读(171) 评论(0) 推荐(0) 编辑

2015年8月20日

hdoj 1272 小希的迷宫

摘要: 上次Gardon的迷宫城堡小希玩了很久(见Problem B),现在她也想设计一个迷宫让Gardon来走。但是她设计迷宫的思路不一样,首先她认为所有的通道都应该是双向连通的,就是说如果有一个通道连通了房间A和B,那么既可以通过它从房间A走到房间B,也可以通过它从房间B走到房间A,为了提高难度,小希希... 阅读全文

posted @ 2015-08-20 19:53 帝孤 阅读(241) 评论(0) 推荐(0) 编辑

2015年8月18日

hdoj 1016 Prime Ring Problem

摘要: Problem DescriptionA ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of num... 阅读全文

posted @ 2015-08-18 20:01 帝孤 阅读(169) 评论(0) 推荐(0) 编辑

hdoj 2039 三角形

摘要: Problem Description给定三条边,请你判断一下能不能组成一个三角形。Input输入数据第一行包含一个数M,接下有M行,每行一个实例,包含三个正数A,B,C。其中A,B,C 2 int main() 3 { 4 double a, b, c; 5 int m; 6 ... 阅读全文

posted @ 2015-08-18 16:54 帝孤 阅读(161) 评论(0) 推荐(0) 编辑

hdoj 2034 人见人爱A-B

摘要: Problem Description参加过上个月月赛的同学一定还记得其中的一个最简单的题目,就是{A}+{B},那个题目求的是两个集合的并集,今天我们这个A-B求的是两个集合的差,就是做集合的减法运算。(当然,大家都知道集合的定义,就是同一个集合中不会有两个相同的元素,这里还是提醒大家一下)呵呵,... 阅读全文

posted @ 2015-08-18 16:38 帝孤 阅读(235) 评论(0) 推荐(0) 编辑

hdoj 2022 海选女主角

摘要: Problem Descriptionpotato老师虽然很喜欢教书,但是迫于生活压力,不得不想办法在业余时间挣点外快以养家糊口。“做什么比较挣钱呢?筛沙子没力气,看大门又不够帅...”potato老师很是无奈。“张艺谋比你还难看,现在多有钱呀,听说还要导演奥运开幕式呢!你为什么不去娱乐圈发展呢?”... 阅读全文

posted @ 2015-08-18 15:52 帝孤 阅读(293) 评论(0) 推荐(0) 编辑

导航