"Angry Students" "Hyperset" "Garland" "Numbers on Tree" Angry Students $$ Time Limit: 1 s\quad Memory Limit: 256 MB $$ 计算每一个 $A$ 后面有多少个连续的 $P$,然后取最大。 ...
分类:
其他好文 时间:
2020-01-07 22:35:05
阅读次数:
95
centos7 安装jira7 参考文档:http://www.cnblogs.com/kevingrace/p/7608813.html 1.准备环境 centos7 memory:8G storage:100G 关闭防火墙和selinux 安装依赖包: yum install -y bash-c ...
分类:
其他好文 时间:
2020-01-07 12:54:23
阅读次数:
104
一.如果只是简单地解决在多线程中对共享资源的读写并发问题,只需要用C++以下内容: 线程类 thread, 原子数据类模板 atomic<T> t, 互斥 mutex, 锁 lock, 条件变量 condition_variables. 二.在此基础上,如果想在并行编程中获得更好的性能,尤其当使用的 ...
分类:
编程语言 时间:
2020-01-06 21:09:08
阅读次数:
92
1. ClickHouse 查询时,报错:Memory limit (for query) exceeded: would use 9.38 GiB (attempt to allocate chunk of 135439453 bytes), maximum: 9.31 GiB 1.1 Click ...
分类:
其他好文 时间:
2020-01-06 19:37:45
阅读次数:
598
我刻意的制造了一段会溢出的代码。 通过下图的leak suspects分析是可以看出gc root的。比较代码和图中的b a。 还有其他的方式可以分析,点击dominator tree可以获取到持有大对象的线程,然后在其上也可以执行gcroot的分析,如下图。 ...
分类:
其他好文 时间:
2020-01-06 19:21:34
阅读次数:
206
异常的概述: 所谓exception异常指的是在我们编译过程没有报错,但是在我们运行程序的时候出现了报错,例如下面的代码: public class Skt01{ public static void main(){ int a=1024; int b=0; int c=a/b; System.ou ...
分类:
其他好文 时间:
2020-01-04 20:04:16
阅读次数:
80
1943: 进制转换 Time Limit: 1 Sec Memory Limit: 32 MBSubmit: 1559 Solved: 579[Submit][Status][Web Board][Creator:Imported] Description 将一个长度最多为30位数字的十进制非负整 ...
分类:
其他好文 时间:
2020-01-04 18:37:29
阅读次数:
184
1942: 数制转换 Time Limit: 1 Sec Memory Limit: 32 MBSubmit: 2738 Solved: 693[Submit][Status][Web Board][Creator:Imported] Description 求任意两个不同进制非负整数的转换(2进制 ...
分类:
其他好文 时间:
2020-01-04 18:35:36
阅读次数:
201
2066: 分组统计 Time Limit: 1 Sec Memory Limit: 32 MBSubmit: 2038 Solved: 498[Submit][Status][Web Board][Creator:Imported] Description 先输入一组数,然后输入其分组,按照分组统 ...
分类:
其他好文 时间:
2020-01-04 18:35:06
阅读次数:
62
1928: 日期差值 Time Limit: 1 Sec Memory Limit: 32 MBSubmit: 10033 Solved: 2267[Submit][Status][Web Board][Creator:Imported] Description 有两个日期,求两个日期之间的天数,如 ...
分类:
其他好文 时间:
2020-01-04 18:22:14
阅读次数:
73