随笔分类 -  FOJ

http://acm.fzu.edu.cn
FZU 1977 Pandora adventure (插头DP)
摘要:Problem 1977 Pandora adventureAccept: 246Submit: 816Time Limit: 1000 mSecMemory Limit : 32768 KB Problem DescriptionThe pollution of the earth is so serious that people can not survive any more. Fortunately, people have found a new planet that maybe has life, and we call it "Pandora Planet" 阅读全文

posted @ 2012-10-01 22:28 kuangbin 阅读(1095) 评论(0) 推荐(0)

FOJ 1021 飞船赛 (水题)
摘要:Problem 1021 飞船赛Accept: 1368Submit: 5167Time Limit: 1000 mSecMemory Limit : 32768 KB Problem Description有N个飞船进行比赛,它们的跑道为直线并互相平行。每个飞船的起跑位置均不相同。第i个飞船从起跑线右边Xi处开始向右行驶(Xi各不相同)。比赛开始后,它能在零时间内加速到最大速度Vi并永远保持此速度。比赛没有终点,即会永远进行下去。你的任务是算出比赛过程中一共有多少次"超车"。 Input输入数据由多组数据组成。每组数据格式如下:第一行为一个整数N(1<=N<= 阅读全文

posted @ 2011-11-14 12:34 kuangbin 阅读(994) 评论(0) 推荐(0)

导航

JAVASCRIPT: