1.git下载与安装 https://gitforwindows.org/ 一般一直下一步即可 任务栏 打开Git Bash,输入: # 配置用户名 git config --global user.name "username" //( "username"是自己的账户名,) # 配置邮箱 git ...
分类:
Web程序 时间:
2021-05-24 13:46:15
阅读次数:
0
Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a given s ...
分类:
其他好文 时间:
2021-05-24 13:43:08
阅读次数:
0
mysql 存储引擎分类 myisam和innodb的区别 1. InnoDB支持事务,MyISAM不支持,对于InnoDB每一条SQL语言都默认封装成事务,自动提交,这样会影响速度,所以最好把多条SQL语言放在begin和commit之间,组成一个事务; 2. InnoDB支持外键,而MyISAM ...
分类:
数据库 时间:
2021-05-24 13:42:20
阅读次数:
0
前言 之前在利用docker 2375端口漏洞的时候,写公钥发现没有权限,检查后发现其被chattr锁定了 当使用chattr命令去解锁时,就出现了这个问题 chattr: Operation not permitted while setting flags on file 解决方案 chattr ...
分类:
其他好文 时间:
2021-05-24 13:37:55
阅读次数:
0
传送 题面:有$m$位客人从城市的不同位置出发,到达各自目的地。已知每人的出发时间、地点和目的地,用尽量少的出租车送他们,使得每次出租车接客人时,至少能提前一分钟到达他所在的位置。注意,为了满足这一条件,要么这位客人是这辆出租车接送的第一个人,要么在接送完上一个客人后,有足够的时间从上一个目的地开到 ...
分类:
其他好文 时间:
2021-05-24 13:32:50
阅读次数:
0
SpringBoot官网:https://github.com/spring-projects/spring-boot SpringBoot项目在2.3.0之前是使用Maven构建项目的,在2.3.0之后是使用Gradle构建项目了 本章将介绍2种方式的源码编译构建 SpringBoot-2.2.5 ...
分类:
编程语言 时间:
2021-05-24 13:23:31
阅读次数:
0
select,poll,epoll都是IO多路复用的机制。I/O多路复用就通过一种机制,可以监视多个描述符,一旦某个描述符就绪(一般是读就绪或者写就绪),能够通知程序进行相应的读写操作。但select,poll,epoll本质上都是同步I/O,因为他们都需要在读写事件就绪后自己负责进行读写,也就是说 ...
分类:
其他好文 时间:
2021-05-24 13:23:15
阅读次数:
0
简介 使用队列实现队列哈哈. code class MyQueue { public: queue<int> q; public: /** Initialize your data structure here. */ MyQueue() { } /** Push element x to the ...
分类:
其他好文 时间:
2021-05-24 13:17:52
阅读次数:
0
使用: 1、在build.gradle中添加 // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories ...
分类:
其他好文 时间:
2021-05-24 13:15:41
阅读次数:
0
分层图最短路 范围要开的足够大 注意: add(u+j * n,v+j * n,w); add(v+j * n,u+j * n,w); add(u+(j-1) * n,v+j * n,0); add(v+(j-1) * n,u+j * n,0); 最后终点之间连上边权为0的边 #include<cs ...
分类:
其他好文 时间:
2021-05-24 12:59:37
阅读次数:
0