摘要: 题目链接 题意: 给定一张n个点不含重边的无向图,点的编号从0开始到n-1,两点之间如果有连边,可以认为耗时为1秒 1->n-1的... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 在登陆Ubuntu之后,我们切换超级管理用户root: su root 然后切换到其所在的主目录: cd ~ 然后以该目录下的所有文... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(50) 评论(0) 推荐(0) 编辑
摘要: 本文目录 写在前面 写在前面 本系列文章索引以及一些默认好的条件在 传送门 因为课程需要,我们要进行Eclipse的安装操... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 题目链接 题意:给出只含有两种字符的字符串以及一个次数限制k,问最多修改k个位置(T->F/F->T),最大的连续的字符串的长度是... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 本文目录 写在前面step1. 下载jdkstep2. 删除原有的open jdkstep3. 解压当前jdk的rpm包step4... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 本文目录 写在前面step1. Hadoop下载step2. Hadoop解压安装step3. 配置环境变量step4. 查看时候... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(43) 评论(0) 推荐(0) 编辑
摘要: 题目链接 class Solution {public: string complexNumberMultiply(stri... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 给出一个矩阵,里面的值为-1 or 1 -1的时候是从左上到右下,1的时候是从左下到右上 当一个球从上方x(0 findBall... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 题目链接 给你 k 枚相同的鸡蛋,并可以使用一栋从第 1 层到第 n 层共有 n 层楼的建筑。 已知存在楼层 f ,满足 0 出自上... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 题目链接 一开始想多了,像成了真实生活中的那种会叠加的状态,就比如"RRL"中,左边的两个"R"会让第三个"L"向右边倾斜,直接用... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 请注意idea版本问题,否则找不到对应选项 在pom.xml中添加依赖: org.springframework.boot ... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(104) 评论(0) 推荐(0) 编辑
摘要: step1 : 设置python 虚拟环境并激活,然后安装Django开发版本 这里可以本人参考博客 step2 : 新建项目 之前... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 2021 江西省赛A 题目链接:https://ac.nowcoder.com/acm/contest/21592/A 题意:给出一... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(15) 评论(0) 推荐(0) 编辑
摘要: map.count与map[]的区别 假如我们建立一个从int到int的映射: 那我们通常会这么写: map mp,表示键值的映射 ... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(22) 评论(0) 推荐(0) 编辑
摘要: One of Pang ... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(30) 评论(0) 推荐(0) 编辑
摘要: You are given n lengths of segments that need to be placed on an i... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(43) 评论(0) 推荐(0) 编辑
摘要: Evlampiy was gifted a rooted tree. The vertices of the tree are nu... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(16) 评论(0) 推荐(0) 编辑
摘要: Description John is the only priest in his town. September 1st is ... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(23) 评论(0) 推荐(0) 编辑
摘要: Description Katu Puzzle is presented as a directed graph ... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(22) 评论(0) 推荐(0) 编辑
摘要: M. Function and Function 队友说直接暴力即可 #include #include #include #inc... 阅读全文
posted @ 2022-04-26 21:36 PushyTao 阅读(20) 评论(0) 推荐(0) 编辑