摘要: 本人的个人博客首页为: http://www.ourd3js.com/ 。csdn博客首页为:http://blog.csdn.net/lzhlzz/。转载请注明出处。谢谢。 以下開始用D3.js处理第一个简单问题,先看以下的代码: <html> <head> <meta charset="utf- 阅读全文
posted @ 2017-04-13 13:31 gccbuaa 阅读(281) 评论(0) 推荐(0)
摘要: 6 Bash 特性 这部分描写叙述Bash独有的特性。 * 调用Bash : Bash能够接受的命令行选项。 * Bash启动文件 : Bash何时及怎样运行脚本。 * 交互Shell : 什么是交互式shell。 * Bash条件表达式 : 内建命令test用到的表达式元素。 * shell算术 阅读全文
posted @ 2017-04-13 12:22 gccbuaa 阅读(190) 评论(0) 推荐(0)
摘要: 题目:给你一个图的边集。问是不是多有的边都有回边。 分析:图论,排序。直接排序查找判定就可以。 依照边的最小端点,和最大端点排序。则成对的边(或者同样的边)一定相邻。 说明:(⊙_⊙)。 #include <algorithm> #include <iostream> #include <cstdl 阅读全文
posted @ 2017-04-13 11:12 gccbuaa 阅读(170) 评论(0) 推荐(0)
摘要: 引:http://blog.csdn.net/anxuegang/article/details/6157927 证书基本的文件类型和协议有: PEM、DER、PFX、JKS、KDB、CER、KEY、CSR、CRT、CRL 、OCSP、SCEP等。 PEM – Openssl使用 PEM(Priva 阅读全文
posted @ 2017-04-13 10:33 gccbuaa 阅读(1982) 评论(0) 推荐(0)
摘要: 1. 函数模板 函数模板是一个独立于类型的函数,可作为一种方式。产生函数的特定类型版本号。 // implement strcmp-like generic compare function // returns 0 if thevalues are equal, 1 if v1 is larger 阅读全文
posted @ 2017-04-13 09:34 gccbuaa 阅读(215) 评论(0) 推荐(0)
摘要: 推断三角形 时间限制:1000 ms | 内存限制:65535 KB 难度:2 描写叙述 小明非常喜欢研究三角形。如今,小明已经知道三角形的三条边。假设三条边能组成三角形,小明就会非常高兴,他就会得到一个“YE”,假设他经过进一步的研究知道它又是等腰三角形, 他又会得一个“YE”,他再次研究出它又是 阅读全文
posted @ 2017-04-13 08:06 gccbuaa 阅读(205) 评论(0) 推荐(0)
摘要: 效果: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" 阅读全文
posted @ 2017-04-12 21:55 gccbuaa 阅读(122) 评论(0) 推荐(0)
摘要: Given inorder and postorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. the idea is 阅读全文
posted @ 2017-04-12 20:23 gccbuaa 阅读(165) 评论(0) 推荐(0)
摘要: 一、Playground介绍 Playground是Xcode6中自带的Swift代码开发环境。俗话说“功欲善其事,必先利其器”。曾经在Xcode5中编写脚本代码。比如编写JS。其编写过程非常痛苦,Xcode编辑器对脚本语言编写支持不好,但Playground让编写Swift代码不在痛苦。使用Pla 阅读全文
posted @ 2017-04-12 19:42 gccbuaa 阅读(609) 评论(0) 推荐(0)
摘要: 题目来自于Leetcode https://leetcode.com/problems/pascals-triangle/ Given numRows, generate the first numRows of Pascal's triangle. For example, given numRo 阅读全文
posted @ 2017-04-12 19:01 gccbuaa 阅读(155) 评论(0) 推荐(0)