任务一、递归初体验: 1.打印hello 2.递归实现循环 源代码: public class TasteRecursion { public static void display() //循环打印hello,Beauty { System.out.println("hello,Beauty!") ...
分类:
编程语言 时间:
2018-02-25 12:59:50
阅读次数:
121
1.设置网格顶点局部标架 定义顶点 Vi 的局部标架 Fi = (ei1, ei2, ni),如图 三维空间中的任意向量 A 可用局部标架表示为 A = λ1e1 + λ2e2 + λ3n; 2.求取矩阵 T 两两局部标架之间有旋转矩阵 T(因为是局部标架而非局部坐标系,所以没有平移,不适用合同变换 ...
分类:
其他好文 时间:
2018-02-24 14:53:22
阅读次数:
204
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4324 题目: Problem Description Recently, scientists find that there is love between any of two people. Fo ...
分类:
编程语言 时间:
2018-02-22 11:37:54
阅读次数:
222
网上关于hachcat的简单使用方法介绍很多,然而却很少有在kali linux上的安装教程,找了好长时间,终于安装成功了,特此将中间借鉴的内容记录如下: #首先安装p7z,用于解压下载的p7z包 #然后安装hashcat Lets Begin the journey of Cracking Pas ...
分类:
系统相关 时间:
2018-02-20 20:21:57
阅读次数:
1988
安装pyenv环境 yum -y install git yum install gcc make patch gdbm-devel openssl-devel sqlite-devel readline-devel zlib-devel bzip2-devel useradd python pas... ...
分类:
编程语言 时间:
2018-02-18 13:57:27
阅读次数:
418
【链接】 "我是链接,点我呀:)" 【题意】 在这里输入题意 【题解】 最后的直角三角形可以通过平移,将直角顶点移动到坐标原点。 然后我们只要枚举另外两个点其中一个点的坐标就好了。 x坐标的范围是[1..a) 因为再长的话,这条边肯定就超过边长a了。 然后用一些相似三角形的规律就能知道另外一个点的坐 ...
分类:
其他好文 时间:
2018-02-14 12:26:28
阅读次数:
213
传送门 Time limit : 4sec / Memory limit : 256MB Score : 1600 points Problem Statement There are N(N+1)?2 dots arranged to form an equilateral triangle wh ...
分类:
其他好文 时间:
2018-02-13 16:45:36
阅读次数:
206
1.题目描述 Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5, Return [ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6 ...
分类:
其他好文 时间:
2018-02-11 19:52:46
阅读次数:
149
详见:http://cn.linux.vbird.org/linux_basic/0410accountmanager.php 1. 用户及passwd文件 1) 掌握/etc/passwd文件的功能:存储所有用户的相关信息,该文件也被称为用户信息数据库(Database)。 2) /etc/pas ...
分类:
系统相关 时间:
2018-02-11 18:02:27
阅读次数:
269