问题 E: Distance
时间限制: 1 Sec 内存限制: 128 MB
提交: 48 解决: 12
[提交][状态][论坛]
题目描述
There is a battle field. It is a square with the side length 100 miles, and unfortunately we have two comrades who get ...
分类:
其他好文 时间:
2014-05-26 05:57:27
阅读次数:
325
我们的计算机及信息化专业教育,应该抛弃以Windows平台及Visual Studio为基础的专业教育,应多以Linux开源操作系统及底层开发技术的教育(而不是拖拖控件,写几行代码就成为程序员的现状态),只有这样才能培养更多的高水平计算机人才,在未来才有可能拥有更多的核心信息技术,在信息战争中取得优势。在这方面,中国应该向我们的邻国俄罗斯学习。...
题目链接:http://poj.org/problem?id=1182 POJ 1182...
分类:
其他好文 时间:
2014-05-26 04:28:36
阅读次数:
152
问题 C: Repeat Number
时间限制: 1 Sec 内存限制: 128 MB
提交: 23 解决: 7
[提交][状态][论坛]
题目描述
Definition: a+b = c, if all the digits of c are same ( c is more than ten),then we call a and b are Repeat Number. My...
分类:
其他好文 时间:
2014-05-26 04:03:34
阅读次数:
228
问题 K: Traveling
时间限制: 1 Sec 内存限制: 128 MB
提交: 13 解决: 4
[提交][状态][论坛]
题目描述
SH likes traveling around the world. When he arrives at a city, he will ask the staff about the number of cities that...
分类:
其他好文 时间:
2014-05-25 01:44:43
阅读次数:
391
题目如下:
Problem D: Hartals
A social research organization has determined a simple set of parameters to simulate the behavior of the political parties of our country. One of the ...
分类:
其他好文 时间:
2014-05-24 23:10:01
阅读次数:
317
问题 L: Prime Factors
时间限制: 1 Sec 内存限制: 128 MB
提交: 36 解决: 28
[提交][状态][论坛]
题目描述
I'll give you a number , please tell me how many different prime factors in this number.
输入
There is multiple te...
分类:
其他好文 时间:
2014-05-24 20:52:54
阅读次数:
311
HDU 2604 矩阵快速幂 题解:突然发现这类题目又是有一个小技巧的。先说题意,一个字符串,由f和m两种字符构成。现在的问题是,其中的子串,不出现“fff”和"fmf"的长度为L的串有多少个。
同样的,我们考虑一个充分长的串,确定他的最后两位之后,看看倒数第三位的字符是什么:...
分类:
其他好文 时间:
2014-05-24 20:40:32
阅读次数:
297
题目:11218 - KTV
题目大意:ktv里有9个人,唱歌的话分三个一组,然后给出n中可能的分组,和每个分组的得分,求最多的得分。
解题思路:这题就是dfs,但是要注意这里的每个人都需要并且只能在一个组里。
代码:
#include
#include
const int N = 100;
int comb[N][3], score[N];
int n, v...
分类:
其他好文 时间:
2014-05-24 20:38:34
阅读次数:
242