摘要:
terminal中遇到END的话执行:q!即可。(w write 保存;q quit 退出。) git status命令:时刻掌握仓库当前状态。 git diff命令:如果git status告诉你有文件被修改过,用git diff可以查看修改内容(上次是怎么修改的)。 master后面有叉:告诉用 阅读全文
摘要:
我记得我上次学习git和github还是上上学期的事情了,然后没学会,我就放弃了。。 岁数大了,应该可以学会了吧,我再回来倒腾一下子。 Introduction: 针对开发人员的分布式版本控制系统 自动记录每次文件的改动,结束手动管理多个版本 免费的版本控制系统:CVS、SVN(集中式的版本控制系统 阅读全文
摘要:
Aragorn's Story 题目链接: HDU - 3966 题面: Our protagonist is the handsome human prince Aragorn comes from The Lord of the Rings. One day Aragorn finds a lo 阅读全文
摘要:
Catalan Square https://vjudge.net/problem/Gym-100502C AC代码: 1 import java.util.*;//Scanner 2 import java.lang.*; 3 import java.io.*; 4 import java.mat 阅读全文
摘要:
lower_bound() 大于等于 upper_bound()大于 阅读全文
摘要:
数位dp:在数位上做动态规划 Bomb HDU - 3555 求含49的数字个数(49连号)。 #include<stdio.h> #include<iostream> #include<string.h> #include<algorithm> #include<queue> #include<c 阅读全文
摘要:
DFS写法(这个简单好理解) #include<string.h> #include<iostream> #include<stdio.h> #include<algorithm> #include<queue> using namespace std; #define inf 0x3f3f3f3f 阅读全文
摘要:
今天做了一些搜索的题目,感觉我又迷了,我好菜也。。 针对深搜: 为什么需要标记 记忆化搜索定义int dfs(),不需要标记,book数组只用于记录次数/步数等,一旦搜到走过的book[x][y],就直接返回,不用再往下搜索,其实就是有部分的动态规划的思想在。 一般搜索定义void dfs(),需要 阅读全文
摘要:
Cows are such finicky eaters. Each cow has a preference for certain foods and drinks, and she will consume no others. Farmer John has cooked fabulous 阅读全文
摘要:
You are given N processors and M jobs to be processed. Two processors are specified to each job. To process the job, the job should be allocated to an 阅读全文