09 2018 档案

摘要:Carriesfrog has n integers a1,a2,…,an, and she wants to add them pairwise.Unfortunately, frog is somehow afraid of carries (进位). ... 阅读全文
posted @ 2018-09-27 23:29 i-Curve 阅读(234) 评论(0) 推荐(0)
摘要:tcpdump是一款很好的linux抓包分析数据包的软件,下面讲解一下如何通过tcpdump进行抓取数据包,分析数据包的过程.设置所抓取的网卡,用参数-i首先我们在命令行中输入ifconfig,查看自己的所分配的ip 地址的网卡信息可能是eth0 或者ens... 阅读全文
posted @ 2018-09-27 17:11 i-Curve 阅读(4620) 评论(0) 推荐(0)
摘要:首先分析一下原因,你还记得当我们第一次ssh 连接是命令行中出现的提示吗?当我们第一次连接的时候会出现这个是否确认连接的选择,当选完yes后就会让我们输入密码,然后再次登录便不会出现这个提示了,那么这也是问题所在的愿因.ssh会在确认后在 用户/.ssh/... 阅读全文
posted @ 2018-09-25 18:03 i-Curve 阅读(602) 评论(0) 推荐(0)
摘要:deepin是一款很好的系统,虽说还有很多问题,但是毕竟是国产的嘛(^_^).今天说一下任务栏中资源管理器关闭,并且桌面文件打不开的办法.出现问题原因:在我查阅了很多文章后发现基本上都是由于卸载一些软件,从而导致了dde-file-manager 意外被卸载... 阅读全文
posted @ 2018-09-25 12:38 i-Curve 阅读(936) 评论(0) 推荐(0)
摘要:Mr. F has n positive integers, a1,a2,…,an.He thinks the greatest common divisor of these integers is too small. So he wants to en... 阅读全文
posted @ 2018-09-22 18:04 i-Curve 阅读(126) 评论(0) 推荐(0)
摘要:某国为了防御敌国的导弹袭击,发展出一种导弹拦截系统.但是这种导弹拦截系统有一个缺陷:虽然它的第一发炮弹能够到达任意的高度,但是以后每一发炮弹都不能超过前一发的高度.某天,雷达捕捉到敌国的导弹来袭.由于该系统还在试用阶段,所以只有一套系统,因此有可能不能拦截所... 阅读全文
posted @ 2018-09-21 12:57 i-Curve 阅读(118) 评论(0) 推荐(0)
摘要:github是是一个面向开源及私有软件项目的托管平台,而发展到今天里面的内容越来越丰富。github我之前完全是听我一个朋友说起过的,在之前我完全不知道github是什么东西,而在我问他github是什么东西的时候,他当时一脸震惊,说你一个计算机系的竟然不知... 阅读全文
posted @ 2018-09-17 22:26 i-Curve 阅读(350) 评论(0) 推荐(0)
摘要:最近,小明出了一些ACM编程题,决定在HDOJ举行一场公开赛。 假设题目的数量一共是n道,这些题目的难度被评级为一个不超过1000的非负整数,并且一场比赛至少需要一个题,而这场比赛的难度,就是所有题目的难度之和,同时,我们认为一场比赛与本场题目的顺序无关,... 阅读全文
posted @ 2018-09-16 17:51 i-Curve 阅读(161) 评论(0) 推荐(0)
摘要:首先我们要有自己的服务器和租一个域名,这个可以根据自己情况自己去找,国内阿里,腾讯.国外也有很多.域名可以在万网或者腾讯上都可以买,之后要把域名指向自己服务器的ip地址(其实没有域名也可以打开网页,不过要在搜索框中输入http://ip ).1.服务器上安... 阅读全文
posted @ 2018-09-15 09:51 i-Curve 阅读(783) 评论(0) 推荐(0)
摘要:参考博客1.linux下的用户管理Linux下有三类用户1.超级用户: root 具有操作系统的一切权限 UID 值为02.普通用户:普通用户具有操作系统有限的权限, UID值 500 – 60003.伪用户:是为了方便系统管理, 满足相应的系统进程文件属主... 阅读全文
posted @ 2018-09-12 20:58 i-Curve 阅读(12446) 评论(0) 推荐(0)
摘要:dp全称动态规划,是一种很重要的算法思想。动态规划的算法与分治算法有相似之处,又有这截然不同的差异。动态规划的思想主旨是将待解的问题分成若干个子问题,先求解子问题,然后在从这些子问题再得到原有问题的答案。从中我们可以很明显的抽出一下几个内涵:1.要把问题进行... 阅读全文
posted @ 2018-09-10 22:31 i-Curve 阅读(693) 评论(0) 推荐(0)
摘要:Let’s call some positive integer classy if its decimal representation contains no more than 3 non-zero digits. For example, numbe... 阅读全文
posted @ 2018-09-10 20:37 i-Curve 阅读(124) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2018-09-09 17:19 i-Curve 阅读(118) 评论(0) 推荐(0)
摘要: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 ... 阅读全文
posted @ 2018-09-09 17:13 i-Curve 阅读(234) 评论(0) 推荐(0)
摘要:Vasya has two arrays A and B of lengths n and m, respectively.He can perform the following operation arbitrary number of times (p... 阅读全文
posted @ 2018-09-09 17:09 i-Curve 阅读(271) 评论(0) 推荐(0)
摘要:给出正整数 n 和 m,统计满足以下条件的正整数对 (a,b) 的数量:1≤a≤n,1≤b≤m;a×b 是 2016 的倍数。Input输入包含不超过 30 组数据。每组数据包含两个整数 n,m (1≤n,m≤10 9).Output对于每组数据,输出一个整... 阅读全文
posted @ 2018-09-07 20:41 i-Curve 阅读(130) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2018-09-03 21:11 i-Curve 阅读(216) 评论(0) 推荐(0)
摘要:One day, Kaitou Kiddo had stolen a priceless diamond ring. But detective Conan blocked Kiddo’s path to escape from the museum. Bu... 阅读全文
posted @ 2018-09-02 20:47 i-Curve 阅读(202) 评论(0) 推荐(0)