Angle Beats $$ Time Limit: 4000 ms \quad Memory Limit: 1048576 kB $$ 题意 给出 $n$ 个初始点以及 $q$ 次询问,每次询问给出一个询问点 $Q$,求包括 $Q$ 点的直角三角形有多少个。保证 $n+q$ 个点都不重复。 思路 ...
分类:
其他好文 时间:
2019-10-07 18:01:04
阅读次数:
203
C. Primes and Multiplication time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Primes an ...
分类:
其他好文 时间:
2019-10-06 20:26:48
阅读次数:
160
计算机基础知识 一、为何要学习计算机基础? 好多人觉得自己有点基础就都想着直接敲代码,觉得基础知识很容易,很简单,就不怎么用心去学。然而,我觉得基础知识很 ...
分类:
其他好文 时间:
2019-10-06 20:20:09
阅读次数:
102
1) a function to check the free memory: 2) using for loop to print the odd number from 1 to 99 3) If and case 4. delete the function name from termina ...
分类:
其他好文 时间:
2019-10-06 18:27:45
阅读次数:
103
Textbook: 《计算机组成与设计——硬件/软件接口》 HI 《计算机体系结构——量化研究方法》 QR 这是youtube上一个非常好的memory system的课。 1. Main Memory Optimization (Ch4 PPT P39) ...
分类:
其他好文 时间:
2019-10-06 12:59:32
阅读次数:
79
Introduction 索引在数据管理中起到很重要的作用,很多索引结构都会采用访问速度快而且内存消耗少的trie树,但一般常见的trie树索引结构都强调效率而忽视内存的效率,他们的效率虽然高,但内存的消耗比较大。这篇文章提出了一种新的树形结构 Hyperion,在效率上做到对范围查询和点查询都能够 ...
分类:
其他好文 时间:
2019-10-05 22:34:36
阅读次数:
131
先去查看对应的日志:/var/log/,再来排查错误 <! more 1.实例处于错误状态 解决办法: 1.使用 查看 2.然后 挨个show一下,看看vcpus,local_gb,memory_mb local_gb只剩9g可用,磁盘空间不够,需要对/root分区扩容 或者使用卷来创建实例,创建的 ...
分类:
其他好文 时间:
2019-10-05 22:07:50
阅读次数:
161
C. Anadi and Domino time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Anadi has a set of d ...
分类:
其他好文 时间:
2019-10-05 18:14:39
阅读次数:
110
一、设计堆内存溢出异常:OutOfMemoryError: JVM参数:-XX:+HeapOnOutOfMemoryError :到处内存溢出的堆信息(hprof文件) 执行后报错: 查看文件:文件保存在项目文件夹中,但是要查看其中内容,你需要借助Eclipse Memory Analyzer工具。 ...
分类:
其他好文 时间:
2019-10-04 23:15:20
阅读次数:
125
Textbook: 《计算机组成与设计——硬件/软件接口》 HI 《计算机体系结构——量化研究方法》 QR Ch4. Cache Optimization 本章要讨论的问题就是 How to Improve Cache Performance? 前面讲过 Average memory access ...
分类:
系统相关 时间:
2019-10-04 17:20:48
阅读次数:
157