问题 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
日之前点击链接进行网上报名,只有报名成功的同学才能参加选拔赛。
问题 F: Graph
时间限制: 1 Sec 内存限制: 128 MB
提交: 30 解决: 5
[提交][状态][论坛]
题目描述
Your task is to judge whether a regular polygon can be drawn only by straightedge...
分类:
其他好文 时间:
2014-05-26 05:29:16
阅读次数:
389
我们的计算机及信息化专业教育,应该抛弃以Windows平台及Visual Studio为基础的专业教育,应多以Linux开源操作系统及底层开发技术的教育(而不是拖拖控件,写几行代码就成为程序员的现状态),只有这样才能培养更多的高水平计算机人才,在未来才有可能拥有更多的核心信息技术,在信息战争中取得优势。在这方面,中国应该向我们的邻国俄罗斯学习。...
问题 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
Pick applesTime Limit: 1000MS Memory limit:
165536K题目描写叙述Once ago, there is a mystery yard which only produces three kinds
of apples. The number of ea...
分类:
移动开发 时间:
2014-05-26 00:24:52
阅读次数:
443
校赛完了,这次校赛,做的很差,一个算法题没有,2个水题,1个贪心,概率DP,DP,数论题。DP还没开始研究,数论根本不会,数学太差了,省赛时卡数论,校赛依然卡数论,我擦,还是得继续学习啊!
一把锈迹斑斑的剑,只有不断的磨砺,才能展露锋芒!
以下为最短路总结:
最短路问题可分为:
一、单源最短路径算法,解决方案:Bellman-Ford算法,Dijkstra算法,SPFA...
分类:
其他好文 时间:
2014-05-25 21:39:09
阅读次数:
320
ls
-l:长格式
文件类型:
-:普通文件 (f)
d: 目录文件
b: 块设备文件 (block)
c: 字符设备文件 (character)
l: 符号链接文件(symbolic link file)
p: 命令管道文件(pipe)
s: 套接字文件(socket)
文件权限:9位,每3位一组,每一组:rwx(读,写,执行), r--
文件硬链接的次数
文件的属主(o...
分类:
其他好文 时间:
2014-05-25 01:55:01
阅读次数:
262
问题 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
问题 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
题目: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