摘要:
Apache 让网页路径更简单(ubuntu) 参考链接 https://blog.csdn.net/u011101881/article/details/38367811 https://www.cnblogs.com/Siegel/p/6898266.html 基础知识(可以直接跳过) ubun
阅读全文
posted @ 2020-05-11 16:59
mmqqdd
阅读(444)
推荐(0)
摘要:
Git学习笔记 学习笔记用来帮助自己记忆,而不是帮助别人学习. 初次运行git前的配置 配置文件所在位置 1. 系统配置: 2. 当前用户配置: 或`~/.config/git/config` 3. 当前仓库配置: 基础命令 1. 查看所有配置文件所在位置: 2. 修改用户名和地址: 3. 设置编辑
阅读全文
posted @ 2020-05-10 23:30
mmqqdd
阅读(247)
推荐(0)
摘要:
Codeforces Round 618 (Div. 2) 题目链接: https://codeforces.com/contest/1300 A. Non zero 有手就行 B. Assigning to Classes 从小到大排序,然后
ans=b[n+1]b[n] C. Anu Has
阅读全文
posted @ 2020-03-08 21:36
mmqqdd
阅读(171)
推荐(0)
摘要:
Ozon Tech Challenge 2020 (Div.1 + Div.2) 题目链接:https://codeforces.com/contest/1305 A. Kuroni and the Gifts 怎么做都能AC。 B. Kuroni and Simple Strings 题解: 要么
阅读全文
posted @ 2020-03-05 15:00
mmqqdd
阅读(207)
推荐(0)
摘要:
Codeforces Round 619 (Div. 2) 题目链接:https://codeforces.com/contest/1301 A题跳过 B题 这题一开始跳了,后来回来用二分做的。二分答案,然后查询是否满足,查询用一个区间表示现在k 可以取值的范围。如果左端点比右端点大了,说明没有可能
阅读全文
posted @ 2020-03-04 09:23
mmqqdd
阅读(221)
推荐(0)
摘要:
Codeforces Round 622 (Div. 2) 题目链接:https://codeforces.com/contest/1313 A. Fast Food Restaurant 算贪心吧,先一个一个选,再两个两个选,最后三个三个选,选两个的时候注意挑选最多的两个。 B. Differen
阅读全文
posted @ 2020-03-02 23:16
mmqqdd
阅读(360)
推荐(0)
摘要:
G 街机争霸 https://ac.nowcoder.com/acm/contest/4680/G 题解 一道还算正常的广搜题,对于不断移动僵尸,看看数据范围就明白了,移动范围不超过10, 那我们就可以增加一维时间来记录状态mp[x,y,t]表示在(x,y)坐标,t时刻的状态,因为僵尸只移动k步
阅读全文
posted @ 2020-03-01 11:29
mmqqdd
阅读(196)
推荐(0)
摘要:
Codeforces Round 620 (Div. 2) 题目链接 https://codeforces.com/contest/1313 A B C题直接跳过。 D题: 求最短的上升子序列,我们可以直接假设它是1~n从大到小排列,然后对于每两个大于号之间的小于号再翻转就行。 求最长的就反过来做一
阅读全文
posted @ 2020-03-01 11:28
mmqqdd
阅读(179)
推荐(0)
摘要:
https://www.cnblogs.com/sablier/p/10915171.html
阅读全文
posted @ 2019-12-16 21:32
mmqqdd
阅读(151)
推荐(0)
摘要:
Ubuntu18.04中安装Python3.7教程 链接
阅读全文
posted @ 2019-12-09 20:17
mmqqdd
阅读(2738)
推荐(0)
摘要:
typora的基本使用技巧汇总 链接: https://www.jianshu.com/p/380005c8f104
阅读全文
posted @ 2019-12-08 15:17
mmqqdd
阅读(535)
推荐(0)
摘要:
ubuntu 连接宽带 链接: https://blog.csdn.net/selous/article/details/55520765 主要命令 遇到的问题 宽带密码填错了导致一直连不上 连上之后宽带的图标依然没有变化 连接之后时常断网 总结 遇到了问题之后,我都不知道怎么解决,看了好多篇博客,
阅读全文
posted @ 2019-12-08 15:14
mmqqdd
阅读(318)
推荐(0)
摘要:
ubuntu 忘记密码如何 修改密码 这个链接讲的很不错 https://blog.csdn.net/zd147896325/article/details/81664558 本来我只是玩一玩,但是我改密码的时候貌似数字锁定了,导致我改了密码后密码一直不对,换了好几种改密码的方式才反应过来,真是太傻
阅读全文
posted @ 2019-12-07 21:40
mmqqdd
阅读(305)
推荐(0)
摘要:
Rhyme scheme Problem Describe A rhyme scheme is the pattern of rhymes at the end of each line of a poem or song. It is usually referred to by using le
阅读全文
posted @ 2019-09-15 19:06
mmqqdd
阅读(499)
推荐(0)
摘要:
Find the median 题目链接: https://ac.nowcoder.com/acm/contest/887/E 题目描述 Let median of some array be the number which would stand in the middle of this ar
阅读全文
posted @ 2019-09-12 20:25
mmqqdd
阅读(274)
推荐(0)
摘要:
I. Yukino With Subinterval 题目链接: Problem Descripe Yukino has an array
a1,a2⋯an. As a tsundere girl, Yukino is fond of studying subinterva
阅读全文
posted @ 2019-09-11 21:21
mmqqdd
阅读(307)
推荐(0)
摘要:
I. query 题目链接: Problem Description Given a permutation
p of length
n, you are asked to answer
m queries, each query can be represented as a pair
阅读全文
posted @ 2019-09-11 20:08
mmqqdd
阅读(236)
推荐(0)
摘要:
程序员技术练级攻略 转载自: https://coolshell.cn/articles/4990.html 前言 你是否觉得自己从学校毕业的时候只做过小玩具一样的程序?走入职场后哪怕没有什么经验也可以把以下这些课外练习走一遍(朋友的抱怨:学校课程总是从理论出发,作业项目都看不出有什么实际作用,不如
阅读全文
posted @ 2019-08-14 18:51
mmqqdd
阅读(299)
推荐(0)
摘要:
Get The Treasury 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=3642 Problem Description Jack knows that there is a great underground treasury in a se
阅读全文
posted @ 2019-07-25 23:36
mmqqdd
阅读(254)
推荐(0)
摘要:
F Planting Trees 题目链接 https://ac.nowcoder.com/acm/contest/883/F 题目描述 The semester is finally over and the summer holiday is coming. However, as part o
阅读全文
posted @ 2019-07-25 23:13
mmqqdd
阅读(408)
推荐(0)
摘要:
G. Yash And Trees 题目连接: Description Yash loves playing with trees and gets especially excited when they have something to do with prime numbers. On hi
阅读全文
posted @ 2019-07-24 22:32
mmqqdd
阅读(206)
推荐(0)
摘要:
Picture 题目链接 http://poj.org/problem?id=1177 Description A number of rectangular posters, photographs and other pictures of the same shape are pasted o
阅读全文
posted @ 2019-07-24 22:21
mmqqdd
阅读(311)
推荐(0)
摘要:
Vases and Flowers 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=4614 Problem Description Alice is so popular that she can receive many flowers everyd
阅读全文
posted @ 2019-07-24 21:58
mmqqdd
阅读(276)
推荐(0)
摘要:
Transformation 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=4578 Problem Description Yuanfang is puzzled with the question below: There are n intege
阅读全文
posted @ 2019-07-24 21:42
mmqqdd
阅读(245)
推荐(0)
摘要:
https://blog.csdn.net/Fire_to_cheat_/article/details/78045296
阅读全文
posted @ 2019-07-22 18:41
mmqqdd
阅读(226)
推荐(0)
摘要:
How Many Answers Are Wrong 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=3038 Problem Description TT and FF are ... friends. Uh... very very good fri
阅读全文
posted @ 2019-07-22 18:28
mmqqdd
阅读(188)
推荐(0)
摘要:
Zjnu Stadium 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=3047 Problem Description In 12th Zhejiang College Students Games 2007, there was a new sta
阅读全文
posted @ 2019-07-22 11:44
mmqqdd
阅读(279)
推荐(0)
摘要:
Code Lock 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=3461 Problem Description A lock you use has a code system to be opened instead of a key. The
阅读全文
posted @ 2019-07-19 17:19
mmqqdd
阅读(177)
推荐(0)
摘要:
Hand in Hand 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=3926 Problem Description In order to get rid of Conan, Kaitou KID disguises himself as a t
阅读全文
posted @ 2019-07-14 12:13
mmqqdd
阅读(205)
推荐(0)
摘要:
Rank of Tetris 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=1811 Problem Description 自从Lele开发了Rating系统,他的Tetris事业更是如虎添翼,不久他遍把这个游戏推向了全球。 为了更好的符合那些爱好者
阅读全文
posted @ 2019-07-13 16:23
mmqqdd
阅读(170)
推荐(0)
摘要:
Is It A Tree? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 33083 Accepted Submission(s): 7574
阅读全文
posted @ 2019-07-10 14:23
mmqqdd
阅读(237)
推荐(0)
posted @ 2019-07-10 10:44
mmqqdd
阅读(696)
推荐(0)
摘要:
1 #include<bits/stdc++.h> 2 #include<windows.h> 3 #include<conio.h> 4 #include "mmsystem.h"//导入声音头文件 5 #pragma comment(lib,"winmm.lib")//导入声音头文件库 6 //
阅读全文
posted @ 2019-06-15 10:19
mmqqdd
阅读(760)
推荐(0)
摘要:
CF 题目链接:https://codeforces.com/contest/1174 总结 ABC都比较水,27分钟写完了,但是D题想偏了,一直WA,AC代码确实太巧妙了。 A题 c++ include using namespace std; define ll long long define
阅读全文
posted @ 2019-06-06 20:07
mmqqdd
阅读(186)
推荐(0)
摘要:
Miku and Generals Describe “Miku is matchless in the world!” As everyone knows, Nakano Miku is interested in Japanese generals, so Fuutaro always play
阅读全文
posted @ 2019-06-06 17:21
mmqqdd
阅读(243)
推荐(0)
摘要:
改编自:https://www.cnblogs.com/yueshutong/p/9634322.html 超星尔雅自动刷网课代码(对每个课程需要修改参数) 1 var fa =
("body");2varbtn=("<li></li>"); 3 var json = { 4 "bac
阅读全文
posted @ 2019-06-02 16:59
mmqqdd
阅读(1395)
推荐(0)
摘要:
https://blog.csdn.net/redguardtoo/article/details/7222501
阅读全文
posted @ 2019-05-29 20:09
mmqqdd
阅读(165)
推荐(0)
摘要:
题目链接 https://www.luogu.org/problemnew/show/P3808 AC自动机模板 代码 c++ include using namespace std; define N 1000050 int n; char s[N]; struct AC_automation {
阅读全文
posted @ 2019-05-12 13:40
mmqqdd
阅读(168)
推荐(0)
摘要:
题目链接 https://www.luogu.org/problemnew/show/P3375 题目描述 如题,给出两个字符串s1和s2,其中s2为s1的子串,求出s2在s1中所有出现的位置。 为了减少骗分的情况,接下来还要输出子串的前缀数组next。 (如果你不知道这是什么意思也不要问,去百度搜
阅读全文
posted @ 2019-05-12 01:27
mmqqdd
阅读(271)
推荐(0)
摘要:
P4198 楼房重建 题目链接 https://www.luogu.org/problemnew/show/P4198 题目描述 小A的楼房外有一大片施工工地,工地上有N栋待建的楼房。每天,这片工地上的房子拆了又建、建了又拆。他经常无聊地看着窗外发呆,数自己能够看到多少栋房子。 为了简化问题,我们考
阅读全文
posted @ 2019-05-11 23:32
mmqqdd
阅读(188)
推荐(0)