博客园 首页 私信博主 显示目录 隐藏目录 管理 动画
摘要: 填坑,填坑,填坑…… 开篇镇人品……下文的比喻仅供娱乐…… 为了迎接JSZX校内互测,我临时填坑学了LCT…… 怎么说呢……我也是懵懵懂懂地看了N篇博客,对着标程敲上一发代码,然后才慢慢理解。这里推荐Virtual Judge的一个LCT题集,挺良心的:http://acm.hust.edu.cn/ 阅读全文
posted @ 2016-03-03 22:00 swm_sxt 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Description 某天,Lostmonkey发明了一种超级弹力装置,为了在他的绵羊朋友面前显摆,他邀请小绵羊一起玩个游戏。游戏一开始,Lostmonkey在地上沿着一条直线摆上n个装置,每个装置设定初始弹力系数ki,当绵羊达到第i个装置时,它会往后弹ki步,达到第i+ki个装置,若不存在第i+ 阅读全文
posted @ 2016-03-03 20:35 swm_sxt 阅读(183) 评论(0) 推荐(0) 编辑
摘要: Problem Description We have met so many problems on the tree, so today we will have a query problem on a set of trees. There are N nodes, each node wi 阅读全文
posted @ 2016-03-03 20:32 swm_sxt 阅读(213) 评论(2) 推荐(0) 编辑
摘要: Description You are given a tree (an acyclic undirected connected graph) with N nodes, and edges numbered 1, 2, 3...N-1. We will ask you to perfrom so 阅读全文
posted @ 2016-03-03 20:27 swm_sxt 阅读(183) 评论(0) 推荐(0) 编辑