- 博客(3)
- 收藏
- 关注
原创 poj之旅:3321 Apple Tree
Markdown及扩展 这道题涉及到怎么把多叉树的查询转化为树状数组的前缀和查询 思想:通过某种办法将x转化为一个区间[L,R]; 一个连续的区间可以代表一棵子树 代码块语法遵循标准markdown代码,例如:#include <iostream> #include <cstdio> #include <vector> using namespace std;/* id[i]编号为i
2017-05-06 14:05:46
176
原创 poj之旅:1195 树状
Mobile phones Description Suppose that the fourth generation mobile phone base stations in the Tampere area operate as follows. The area is divided into squares. The squares form an S * S matrix
2017-05-05 15:32:17
200
原创 Linux配置系统环境变量
环境变量/etc/profile 之前配置java和hadoop环境时因为疏忽,将path最后需要跟上的$PATH漏掉,导致重启时一直在用户登录界面循环,作为一个小白,记录一下解决方法,供日后参考使用 解决步骤 使用ctrl+alt+F[1~6]进入命令行界面,输入用户名以及密码登录 通过绝对路径访问命令 比如说sudo变成/usr/bin/sudo 中文用户在命令行可能会遇到中文乱码问题,这个时候
2017-04-09 14:20:20
194
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人