上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页

2011年6月27日

摘要: 描述 Description 学校实行学分制。每门的必修课都有固定的学分,同时还必须获得相应的选修课程学分。学校开设了N(N<300)门的选修课程,每个学生可选课程的数量M是给定的。学生选修了这M门课并考核通过就能获得相应的学分。 在选修课程中,有些课程可以直接选修,有些课程需要一定的基础知识,必须在选了其它的一些课程的基础上才能选修。例如《Frontpage》必须在选修了《Windows操作基础... 阅读全文
posted @ 2011-06-27 18:14 I WILL BE BETTER. 阅读(1004) 评论(0) 推荐(0) 编辑

2011年6月2日

摘要: 问题描述:在峰会期间,必须使用许多保镖保卫北约组织的各国代表。代表们除了由他自己的随身保镖保护外,组委会还指派了一些其他的特工和阻击手保护他们。为了使他们的工作卓有成效,使被保卫的人的安全尽可能得到保障,保镖被分配到被保护人的各个方向。保镖的最佳站立位置应该是这样的:被保护人应站在所有保镖的对称中心。但是,只要被保护人一移动,保镖就很难根据要人的新位置调整位置。大多数的特工都很难对此作出实时调整。... 阅读全文
posted @ 2011-06-02 08:29 I WILL BE BETTER. 阅读(293) 评论(0) 推荐(0) 编辑

2011年2月26日

摘要: DescriptionWhile exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one-way path that delivers you to its destination at a time that is BEFORE you entered the wormhole! Each of FJ's farms comprises N (1 ≤ N ≤ 500) field 阅读全文
posted @ 2011-02-26 15:54 I WILL BE BETTER. 阅读(187) 评论(0) 推荐(0) 编辑

2011年2月25日

摘要: DescriptionSeveral currency exchange points are working in our city. Let us suppose that each point specializes in two particular currencies and performs exchange operations only with these currencies. There can be several points specializing in the same pair of currencies. Each point has its own ex 阅读全文
posted @ 2011-02-25 17:48 I WILL BE BETTER. 阅读(237) 评论(0) 推荐(0) 编辑

2011年2月19日

摘要: 排序的方法有多种,有稳定和不稳定之分。所谓的稳定性也就是,对于原来的数列中的数会不会被打乱顺序被排列,最后得到的数列中相同的数是否被打乱顺序。例如数列4(1) 5 8 4(2) 1 4(3) 在用不稳定的排序算法排序后数列中的三个4在结果中有可能不在是1,2,3依次的排列了,相同的被打乱了顺序。在题目的实际应用时,如果同时还有一个域记录的是另外的一组数据,以这组数不稳定排序,这组数的不稳定可能会导致另外的一个域中的数被打乱,从而影响结果的正确性。排序的算法主要的有几种,快速排序,堆排序,选择排序,冒泡排序,插入排序等等。平常的程序中快速排序比较常用,在C的函数库中还可以直接调用,比较的方便。下 阅读全文
posted @ 2011-02-19 17:24 I WILL BE BETTER. 阅读(301) 评论(0) 推荐(0) 编辑

2011年2月13日

摘要: 我来了 阅读全文
posted @ 2011-02-13 19:29 I WILL BE BETTER. 阅读(164) 评论(0) 推荐(0) 编辑

2010年12月11日

摘要: 暂时的离开并不是放弃,OI相信我,我一定会回来的。等我。 阅读全文
posted @ 2010-12-11 20:33 I WILL BE BETTER. 阅读(150) 评论(0) 推荐(0) 编辑

2010年11月18日

摘要: #include #include #include #include using namespace std; int prime[9592]={2,3,5,7,11,13,17,19,23,29, 31,37,41,43,47,53,59,61,67,71, 73,79,83,89,97,101,103,107,109,113, 127,131,137,139,149,151,157,163... 阅读全文
posted @ 2010-11-18 15:18 I WILL BE BETTER. 阅读(978) 评论(0) 推荐(0) 编辑
 
摘要: [tyvj模拟赛]中中向前冲 阅读全文
posted @ 2010-11-18 09:02 I WILL BE BETTER. 阅读(610) 评论(1) 推荐(1) 编辑

2010年11月17日

摘要: Shaping Regions 阅读全文
posted @ 2010-11-17 17:20 I WILL BE BETTER. 阅读(388) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页