摘要:
首先我们要有自己的服务器和租一个域名,这个可以根据自己情况自己去找,国内阿里,腾讯.国外也有很多.域名可以在万网或者腾讯上都可以买,之后要把域名指向自己服务器的ip地址(其实没有域名也可以打开网页,不过要在搜索框中输入http://ip ).1.服务器上安... 阅读全文
摘要:
参考博客1.linux下的用户管理Linux下有三类用户1.超级用户: root 具有操作系统的一切权限 UID 值为02.普通用户:普通用户具有操作系统有限的权限, UID值 500 – 60003.伪用户:是为了方便系统管理, 满足相应的系统进程文件属主... 阅读全文
摘要:
dp全称动态规划,是一种很重要的算法思想。动态规划的算法与分治算法有相似之处,又有这截然不同的差异。动态规划的思想主旨是将待解的问题分成若干个子问题,先求解子问题,然后在从这些子问题再得到原有问题的答案。从中我们可以很明显的抽出一下几个内涵:1.要把问题进行... 阅读全文
摘要:
Let’s call some positive integer classy if its decimal representation contains no more than 3 non-zero digits. For example, numbe... 阅读全文
摘要:
You are given a set of 2n+1 integer points on a Cartesian plane. Points are numbered from 0 to 2n inclusive. Let Pi be the i-th p... 阅读全文
摘要:
Mikhail walks on a Cartesian plane. He starts at the point (0,0), and in one move he can go to any of eight adjacent points. For ... 阅读全文
摘要:
Vasya has two arrays A and B of lengths n and m, respectively.He can perform the following operation arbitrary number of times (p... 阅读全文
摘要:
给出正整数 n 和 m,统计满足以下条件的正整数对 (a,b) 的数量:1≤a≤n,1≤b≤m;a×b 是 2016 的倍数。Input输入包含不超过 30 组数据。每组数据包含两个整数 n,m (1≤n,m≤10 9).Output对于每组数据,输出一个整... 阅读全文
摘要:
The Power Cube is used as a stash of Exotic Power. There are n cities numbered 1,2,…,n where allowed to trade it. The trading pri... 阅读全文
摘要:
One day, Kaitou Kiddo had stolen a priceless diamond ring. But detective Conan blocked Kiddo’s path to escape from the museum. Bu... 阅读全文