agc045_b 01 Unbalanced https://atcoder.jp/contests/agc045/tasks/agc045_b Tutorial https://img.atcoder.jp/agc045/editorial.pdf 将0的值看作$-1$,1的值看作$1$,设$su ...
分类:
其他好文 时间:
2020-06-29 10:02:38
阅读次数:
83
在jsp中获取数据库数据 <% Class.forName("com.mysql.jdbc.Driver");//加载mysql驱动 Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/test1", "r ...
分类:
数据库 时间:
2020-06-29 09:37:42
阅读次数:
71
背景交代 最近QC同学在跑游戏的过程中发现玩的时间久了游戏会发生闪退,经过搜集信息后排除了功能性bug的 一.判断是否是内存泄露 拿到真机,USB连接,杀掉多余后台进程,打开Perfdog,接下来一顿操作猛如虎,Perfdog具体操作不在赘述,有关perfdog怎么使用的教程可以参考 Perfdog ...
分类:
其他好文 时间:
2020-06-28 20:21:32
阅读次数:
72
搭建php-fpm apache nginx 环境 docker-compose.yml文件 networks: net: driver: bridge ipam: config: - subnet: 192.138.0.0/16 services: apache: container_name: ...
分类:
其他好文 时间:
2020-06-28 18:24:12
阅读次数:
69
1、docker-compose 搭建Apache-php 新建docker-compose.yml文件 version: "3.8" networks: net: driver: bridge ipam: config: - subnet: 192.158.0.0/16 services: fpm ...
分类:
其他好文 时间:
2020-06-28 15:20:32
阅读次数:
46
当我们使用nvidia-smi 查看 GPU 状态时,显示GPU使用率100% 那么该如何解决呢? 分析后,可能的原因是加载 NVIDIA 驱动时,ECC Memory Scrubbing 机制造成的。 解决办法: 执行 nvidia-smi -pm 1 命令,让 GPU Driver 进入 Per ...
分类:
其他好文 时间:
2020-06-28 15:16:56
阅读次数:
711
1.在浏览器地址里面输入:chrome://version/,查看你本地浏览器的版本 2.下载对应驱动版本:http://chromedriver.storage.googleapis.com/index.html? 3.将chromedriver.exe复制到C:\Program Files (x ...
分类:
其他好文 时间:
2020-06-28 15:10:12
阅读次数:
148
Java HashMap is a hash table based implementation of Java’s Map interface. A Map, as you might know, is a collection of key-value pairs. It maps keys ...
分类:
编程语言 时间:
2020-06-28 15:03:46
阅读次数:
64
We continue practicing simple SQL queries on a single table. This tutorial is concerned with a table of Nobel prize winners: nobel(yr, subject, winner ...
分类:
数据库 时间:
2020-06-27 20:33:19
阅读次数:
101
通过DriverManager获取数据库连接 修改一下配置文件 driver=com.mysql.cj.jdbc.Driver jdbcUrl=jdbc:mysql://localhost:3306/testjdbc?serverTimezone=GMT%2B8 user=root password ...
分类:
数据库 时间:
2020-06-27 20:11:05
阅读次数:
74