上一页 1 ··· 109 110 111 112 113 114 115 116 117 ··· 222 下一页
摘要: time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output There was an epidemic in Monstropolis... 阅读全文
posted @ 2017-10-06 19:22 AWCXV 阅读(190) 评论(0) 推荐(0)
摘要: time limit per test1 second memory limit per test512 megabytes inputstandard input outputstandard output A boy named Ayrat lives on planet AMI... 阅读全文
posted @ 2017-10-06 19:22 AWCXV 阅读(179) 评论(0) 推荐(0)
摘要: time limit per test3 seconds memory limit per test256 megabytes inputstandard input outputstandard output Kostya is a genial sculptor, he has ... 阅读全文
posted @ 2017-10-06 19:22 AWCXV 阅读(194) 评论(0) 推荐(0)
摘要: time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Very soon there will be a parade of v... 阅读全文
posted @ 2017-10-06 19:22 AWCXV 阅读(145) 评论(0) 推荐(0)
摘要: time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output One day, the Grasshopper was jumping ... 阅读全文
posted @ 2017-10-06 19:22 AWCXV 阅读(262) 评论(0) 推荐(0)
摘要: time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Ayrat has number n, represented as i... 阅读全文
posted @ 2017-10-06 19:22 AWCXV 阅读(178) 评论(0) 推荐(0)
摘要: time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Peter got a new snow blower as a New... 阅读全文
posted @ 2017-10-06 19:22 AWCXV 阅读(122) 评论(0) 推荐(0)
摘要: 描述 Flappy Bird 是一款风靡一时的休闲手机游戏。玩家需要不断控制点击手机屏幕的频率来调节小鸟的飞行高度,让小鸟顺利通过画面右方的管道缝隙。如果小鸟一不小心撞到了水管或者掉在地上的话,便宣告失败。 图片 为了简化问题,我们对游戏规则进行了简化和改编: 游戏界面是一个长为 n... 阅读全文
posted @ 2017-10-06 19:22 AWCXV 阅读(135) 评论(0) 推荐(0)
摘要: 描述 无向连通图 G 有 n 个点,n-1 条边。点从 1 到 n 依次编号,编号为 i 的点的权值为 WiWi, 每条边的长度均为 1。图上两点(u, v)的距离定义为 u 点到 v 点的最短距离。对于图 G 上的点对(u, v),若它们的距离为 2,则它们之间会产生WuWu×Wv... 阅读全文
posted @ 2017-10-06 19:22 AWCXV 阅读(102) 评论(0) 推荐(0)
摘要: 描述 在有向图 G 中,每条边的长度均为 1,现给定起点和终点,请你在图中找一条从起点到 终点的路径,该路径满足以下条件: 路径上的所有点的出边所指向的点都直接或间接与终点连通。 在满足条件 1 的情况下使路径最短。 注意:图 G 中可能存在重边和自环,题目保证终点没有出边。 请你输... 阅读全文
posted @ 2017-10-06 19:22 AWCXV 阅读(159) 评论(0) 推荐(0)
上一页 1 ··· 109 110 111 112 113 114 115 116 117 ··· 222 下一页