Tiling
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 7487
Accepted: 3661
Description
In how many ways can you tile a 2xn rectangle by 2x1 or 2x2 tiles?...
分类:
其他好文 时间:
2014-07-14 14:03:34
阅读次数:
241
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence
...
分类:
其他好文 时间:
2014-07-14 14:03:02
阅读次数:
206
数据结构实验之二叉树的建立与遍历
Time Limit: 1000ms Memory limit: 65536K 有疑问?点这里^_^
题目描述
已知一个按先序序列输入的字符序列,如abc,,de,g,,f,,,(其中逗号表示空节点)。请建立二叉树并按中序和后序方式遍历二叉树,最后求出叶子节点个数和二叉树深度。
{CSDN:CODE:425701}
...
分类:
其他好文 时间:
2014-07-14 14:02:24
阅读次数:
182
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
题目描述:
大家知道,给出正整数n,则1到n这n个数可以构成n!种排列,把这些排列按照从小到大的顺序(字典顺序)列出,如n=3时,列出1 2 3,1 3 2...
分类:
其他好文 时间:
2014-07-14 13:57:53
阅读次数:
168
/*
I - 深搜 基础
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u
Submit
Status
Description
Given a specified total t and a list of n integers, find all distinct sums using n...
分类:
其他好文 时间:
2014-07-14 13:10:00
阅读次数:
253
注意:要使用这个shell,必须先成功建立memcache环境
1》建立memcached文件和权限
[root@luozhonghua ~]# touch /etc/init.d/memcached
[root@luozhonghua ~]# chmod +x /etc/init.d/memcached
2》编写Memcached shell管理脚本 vi /etc/init.d/memca...
分类:
其他好文 时间:
2014-07-14 13:03:21
阅读次数:
188
Radar Installation
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 51131
Accepted: 11481
Description
Assume the coasting is an infinite straight line. La...
分类:
其他好文 时间:
2014-07-14 12:58:50
阅读次数:
241
Flip Game
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 29921
Accepted: 12975
Description
Flip game is played on a rectangular 4x4 field with two-sided...
分类:
其他好文 时间:
2014-07-14 12:46:46
阅读次数:
229
Balanced Lineup
Time Limit: 5000MS
Memory Limit: 65536K
Total Submissions: 32778
Accepted: 15425
Case Time Limit: 2000MS
Description
For the daily milking, Far...
分类:
其他好文 时间:
2014-07-14 12:44:18
阅读次数:
194
比较排序(Comparison Sort)通过对数组中的元素进行比较来实现排序。本文介绍常见的比较排序算法,包括插入排序(Insertion Sort)、希尔排序(Shell Sort)、快速排序(Quicksort)、冒泡排序(Bubble Sort)、鸡尾酒排序(Cocktail Sort)、奇...
分类:
其他好文 时间:
2014-07-14 10:41:39
阅读次数:
479