因为自己在使用openni时遇到了个问题,在google上找不到答案,所以就上ros_answer去提问了。 一到那里对于怎么使用它的代码插入一直存在疑惑。所以就写了这篇随笔来记录一下。 1. #可以实现加粗,比如# ,可以将 加粗。 但最后好像并不能显示出来 2. 工具栏上的插入代码只能插入一行代 ...
分类:
其他好文 时间:
2018-07-22 00:30:28
阅读次数:
262
Problem Description A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of nu ...
分类:
其他好文 时间:
2018-07-21 22:48:22
阅读次数:
179
题目描述 A ring is compose of n circles as shown in diagram. Put natural number 1, 2, ..., n into each circle separately, and the sum of numbers in two ad ...
分类:
其他好文 时间:
2018-07-18 21:40:39
阅读次数:
140
http://poj.org/problem?id=2635 题意 给一个大数K,K一定为两个素数的乘积。现给出一个L,若K的两个因子有小于L的,就输出BAD,并输出较小的因子。否则输出GOOD 分析 1.转换进制 直接用十进制计算的话会TLE,因此转成千进制。即K=1234567899变成K=[9 ...
分类:
其他好文 时间:
2018-07-18 20:39:43
阅读次数:
161
```cpp /// A heavily optimized sieve include include include include typedef unsigned int u32; typedef unsigned long long ull; const char pr60[]={2,3, ...
分类:
其他好文 时间:
2018-07-18 01:13:35
阅读次数:
208
1.计算器上的键的显示名字 1.0 继承JFrame类 public class Calculate extends JFrame { } 1.1定义常量 /** 计算器上的键的显示名字 */ public final String[] KEYS = { "7", "8", "9", "/", "s... ...
分类:
编程语言 时间:
2018-07-17 23:28:39
阅读次数:
229
Let's call an undirected graph G=(V,E)G=(V,E) relatively prime if and only if for each edge (v,u)∈E(v,u)∈E GCD(v,u)=1GCD(v,u)=1 (the greatest common d ...
分类:
其他好文 时间:
2018-07-15 19:44:23
阅读次数:
172
线性筛素数(欧拉筛) 欧拉筛为啥是$O(n)$的呢?我们先来看看代码。 c++ include using namespace std; const int maxn=10000000; int n, m, prime[maxn], isnt_prime[maxn], tot; void get_p ...
分类:
其他好文 时间:
2018-07-15 19:43:44
阅读次数:
121
题面在这里! 直接暴力找点对就行了,可以证明gcd=1是比较密集的,所以复杂度略大于 O(N log N) ...
分类:
其他好文 时间:
2018-07-15 16:23:06
阅读次数:
192
传送门: http://acm.hdu.edu.cn/showproblem.php?pid=1016 Prime Ring Problem Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others ...
分类:
其他好文 时间:
2018-07-15 14:56:58
阅读次数:
153