题目链接 点我呀 翻译 给你一个拼图, 问你能不能把它拼成一个 \(n \times m\) 的方格图。 题解 会发现, 只有 $2 \times 2$ 的能拼出来, 或者是一个长条形的。 往下或者往右一直延伸这样, 然后宽度或高度为1。 代码 #include<bits/stdc++.h> #de ...
分类:
其他好文 时间:
2020-06-21 19:26:05
阅读次数:
45
If you are getting this in gdb on macOS while trying to run a program: Unable to find Mach task port for process-id 57573: (os/kern) failure (0x5). (p ...
分类:
其他好文 时间:
2020-06-21 15:36:08
阅读次数:
62
默认是ctrl + s 但会与终端停止响应的快捷键冲突,但可以禁止终端的ctrl+s,再.bashrc或.bash_profile加入以下内容: stty -ixon https://stackoverflow.com/questions/791765/unable-to-forward-searc ...
分类:
其他好文 时间:
2020-06-21 00:20:08
阅读次数:
79
http://localhost:8080/swagger-ui.html 弹出: 解决方法:除了SwaggerConfig 上要加@EnableSwagger2 ,启动类上也要加 重启再次访问如下 ...
分类:
Web程序 时间:
2020-06-20 23:48:41
阅读次数:
71
1:先找到你的kali或者其他Linux系统安装的磁盘分区,在initramfs下输入blkid命令可以查看所有磁盘,然后找到TYPE=“ext4”的分区;记录下磁盘的名字,我的是/dev/sda7; 2. fsck -t ext4 /dev/sda1 需人工干预一路按yes fsck -y /de ...
分类:
系统相关 时间:
2020-06-20 19:10:47
阅读次数:
85
mac de jdk 下载 选择 jdk-8u202-macosx-x64.dmg 下载后直接双击安装包,一直下一步, 最后看一下jdk安装位置 默认安装位置: /Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home 验证: ...
分类:
其他好文 时间:
2020-06-20 15:58:17
阅读次数:
59
首先我们在resource目录下面放入一个banner.txt文件,Spring Boot启动项目的时候就会优先启动这个文件中的内容。 然后我们用在线生成字符图标工具 http://www.network-science.de/ascii/ http://patorjk.com/software/t ...
分类:
编程语言 时间:
2020-06-20 13:42:56
阅读次数:
106
J'ai pas mal de modules laser et j'en ai acquis certains qui ont des lumières LED au lieu des styles plus anciens. Ils fonctionnent très bien, surtout ...
分类:
其他好文 时间:
2020-06-20 11:12:34
阅读次数:
50
springBoot整合JPA JPA官网: https://docs.spring.io/spring-data/jpa/docs/2.3.1.RELEASE/reference/html/#jpa.repositories maven 依赖: <!--spring-data-jpa--> <de ...
分类:
编程语言 时间:
2020-06-19 14:06:15
阅读次数:
67
1 问题 环境: CentOS7.8.2003 (x86 / 64bit) 版本: RabbitMQ 3.6.15 (Erlang 19.3) 安装方式: 二进制源码压缩安装 2 解决思路 2.1 思路1 关闭进程,并重启 step1 查询mq的进程 ps -ef | grep rabbitmq s ...
分类:
系统相关 时间:
2020-06-19 12:23:47
阅读次数:
130