湘大oj地址:http://202.197.224.59/OnlineJudge2/index.php/Problem/read/id/1086
菱形
时间限制:1000 ms | 内存限制:65536 KB
Description
小明现在是湘潭大学10级计算机系的学生。他的C语言学的还算可以,但是今天老师布置的一道课后作业题却把他难住了。题...
分类:
其他好文 时间:
2016-05-18 19:33:24
阅读次数:
224
题目信息1094. The Largest Generation (25)时间限制200 ms
内存限制65536 kB
代码长度限制16000 B
A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generat...
分类:
其他好文 时间:
2016-05-18 19:32:17
阅读次数:
200
湘大oj题目地址:传送门
Cycloid
时间限制:1000 ms | 内存限制:65536 KB
Description
A cycloid is the curve traced by a point on the rim of a circular wheel as the wheel rolls along a straight li...
分类:
其他好文 时间:
2016-05-18 19:32:52
阅读次数:
160
题目信息1095. Cars on Campus (30)时间限制220 ms
内存限制65536 kB
代码长度限制16000 B
Zhejiang University has 6 campuses and a lot of gates. From each gate we can collect the in/out times and the plate numbers of the...
分类:
其他好文 时间:
2016-05-18 19:31:13
阅读次数:
257
题目信息1101. Quick Sort (25)时间限制200 ms
内存限制65536 kB
代码长度限制16000 B
There is a classical process named partition in the famous quick sort algorithm. In this process we typically choose one element as the...
分类:
其他好文 时间:
2016-05-18 19:33:03
阅读次数:
155
题目信息1096. Consecutive Factors (20)时间限制400 ms
内存限制65536 kB
代码长度限制16000 B
Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored a...
分类:
其他好文 时间:
2016-05-18 19:32:52
阅读次数:
181
题目信息1098. Insertion or Heap Sort (25)时间限制100 ms
内存限制65536 kB
代码长度限制16000 BAccording to Wikipedia:Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list...
分类:
编程语言 时间:
2016-05-18 19:31:52
阅读次数:
152
题目信息1097. Deduplication on a Linked List (25)时间限制300 ms
内存限制65536 kB
代码长度限制16000 B
Given a singly linked list L with integer keys, you are supposed to remove the nodes with duplicated absolute value...
分类:
其他好文 时间:
2016-05-18 19:33:10
阅读次数:
164
链接:http://ifeve.com/spring-interview-questions-and-answers/
原文:http://www.javacodegeeks.com/2014/05/spring-interview-questions-and-answers.html%20
什么是spring?
Spring 是个Java企业级应用的开源开发框架。Spring主要用来开发Java...
分类:
编程语言 时间:
2016-05-18 19:30:52
阅读次数:
304
问题描述
输入:一个最多包含n个正整数的文件,每个数都小于n,其中n=107。如果在输入文件中有任何正数重复出现就是致命错误。没有其他数据与该正数相关联。
输出:按升序排列的输入正数的列表。
约束:最多有1MB的内存空间可用,有充足的磁盘存储空间可用。运行时间最多几分钟,运行时间为10秒就不需要进一步优化。
程序设计与实现概要:应用位图或位向量表示集合。可用一个10位长的字符...
分类:
编程语言 时间:
2016-05-18 19:29:41
阅读次数:
195
算法题目大都比较抽象,可以通过举例子来搞清楚具体的逻辑。题目:从上到下,按照从左往右打印二叉树每一层的结点。二叉树的结点:class BinaryTreeNode{
int mValue;
BinaryTreeNode mLeft;;
BinaryTreeNode mRight;
}思路:
我们发现规律:先遍历的结点,它的子节点也会先被遍历到,...
分类:
其他好文 时间:
2016-05-18 19:32:10
阅读次数:
142
题目信息1099. Build A Binary Search Tree (30)时间限制100 ms
内存限制65536 kB
代码长度限制16000 B
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree...
分类:
其他好文 时间:
2016-05-18 19:32:10
阅读次数:
132
题目信息1103. Integer Factorization (30)时间限制1200 ms
内存限制65536 kB
代码长度限制16000 B
The K-P factorization of a positive integer N is to write N as the sum of the P-th power of K positive integers. You are su...
分类:
其他好文 时间:
2016-05-18 19:29:49
阅读次数:
102
;; 关于php.ini ;;
;;;;;;;;;;;;;;;;;
; 这个文件必须命名为'php.ini'并放置在httpd.conf中PHPINIDir指令指定的目录中。
; 最新版本的php.ini可以在下面两个位置查看:
; http://cvs.php.net/viewvc.cgi/php-src/php.ini-recommended?view=co
; http://cvs...
分类:
Web程序 时间:
2016-05-18 19:30:20
阅读次数:
330
二十四:面向对象
(1)数据抽象:接口实现分离。
继承:定义相似的类型
多态:以统一的方式使用。(【父类】引用或指针调用虚函数 实现多态【动态绑定】)
如果表达式也不是引用,也不是指针,则动态类型永远与静态类型一致。
virtual 在基类函数中说明,子类的相同函数默认都是virtual
子类参数列表(const/引...
分类:
编程语言 时间:
2016-05-18 19:31:44
阅读次数:
205
题目信息1100. Mars Numbers (20)时间限制400 ms
内存限制65536 kB
代码长度限制16000 B
People on Mars count their numbers with base 13:Zero on Earth is called “tret” on Mars.
The numbers 1 to 12 on Earch is called “jan,...
分类:
其他好文 时间:
2016-05-18 19:28:45
阅读次数:
239
KINECT+opencv基于骨骼信息对视频进行动作识别环境:kinect1.7+opencv2.4+vc2015
使用kinect获取并按批处理三维空间内的骨骼信息
基于视频帧差计算各关节运动向量并与本地模板匹配
目录KINECTopencv基于骨骼信息对视频进行动作识别
目录
写在前面
对当前帧处理并匹配
kinect对帧的处理
与模板的向量余弦计算
根据动态时间规划法匹配
记录并保存模板到本地...
分类:
其他好文 时间:
2016-05-18 19:30:55
阅读次数:
294