摘要: Travel There are nn planets in the MOT galaxy, and each planet has a unique number from 1 \sim n1∼n. Each planet is connected to other planets through 阅读全文
posted @ 2019-08-01 17:02 ZERO- 阅读(329) 评论(0) 推荐(0) 编辑
摘要: Swap There is a sequence of numbers of length nn, and each number in the sequence is different. There are two operations: Swap the first half and the 阅读全文
posted @ 2019-08-01 16:59 ZERO- 阅读(434) 评论(0) 推荐(0) 编辑
摘要: Tree Ming and Hong are playing a simple game called nim game. They have nn piles of stones numbered 11 to nn ,the ii-th pile of stones has a_iai​ ston 阅读全文
posted @ 2019-08-01 16:56 ZERO- 阅读(330) 评论(1) 推荐(0) 编辑
摘要: Angel's Journey “Miyane!” This day Hana asks Miyako for help again. Hana plays the part of angel on the stage show of the cultural festival, and she i 阅读全文
posted @ 2019-08-01 16:13 ZERO- 阅读(310) 评论(0) 推荐(0) 编辑
摘要: Tasks It's too late now, but you still have too much work to do. There are nn tasks on your list. The ii-th task costs you t_iti​seconds. You want to 阅读全文
posted @ 2019-08-01 16:08 ZERO- 阅读(300) 评论(0) 推荐(0) 编辑
摘要: POJ 1741. Tree Time Limit: 1000MS Memory Limit: 30000K Total Submissions: 34141 Accepted: 11420 Description Give a tree with n vertices,each edge has 阅读全文
posted @ 2019-08-01 16:03 ZERO- 阅读(303) 评论(0) 推荐(0) 编辑