2013年2月21日

EOJ 1019 着弹点

摘要: 着弹点 Time Limit:1000MSMemory Limit:30000KBTotal Submit:482Accepted:62Description炮兵某部进行实弹射击,对一个平面区域里连续开炮,得到了很多的弹坑.当射击完成后,作为技术人员的你,想要得到一个重要的参数,就是相隔距离最大的炮弹着弹点的距离. Input 多组数据,每组第一行n代表点数,接着n行为着弹点的坐标,坐标为正整数,不超过1000000。2<=n<=30000。 Output每组一行,求出相隔距离最大的两个着弹点之间的距离,保留2位小数 Sample Input31 23 45 6 Sample Ou 阅读全文

posted @ 2013-02-21 09:12 eternalLight 阅读(330) 评论(2) 推荐(0) 编辑

2013年2月19日

EOJ 1120 Peg Game

摘要: Peg Game Time Limit:1000MSMemory Limit:30000KBTotal Submit:224Accepted:86Special JudgeDescriptionYou are given a 7-by-7 board of holes. Some holes are filled with pegs, and some are not. You may jump a peg overan adjacent peg, as long as the hole the jumping peg lands in is unoccupied. The jumped pe 阅读全文

posted @ 2013-02-19 19:11 eternalLight 阅读(174) 评论(0) 推荐(0) 编辑

导航