摘要: http://codeforces.com/contest/948/problem/C C. Producing Snow Alice likes snow a lot! Unfortunately, this year's winter is already over, and she can't 阅读全文
posted @ 2018-03-11 11:15 HazelNuto 阅读(262) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/948/problem/A A. Protect Sheep Bob is a farmer. He has a large pasture with many sheep. Recently, he has lost some of th 阅读全文
posted @ 2018-03-11 11:02 HazelNuto 阅读(424) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://www.patest.cn/contests/gplt/L2-022 给定一个单链表 L1→L2→...→Ln-1→Ln,请编写程序将链表重新排列为 Ln→L1→Ln-1→L2→...。例如:给定L为1→2→3→4→5→6,则输出应该为6→1→5→2→4→3。 输入格式: 阅读全文
posted @ 2018-03-11 10:58 HazelNuto 阅读(225) 评论(0) 推荐(0) 编辑