摘要: *主要注意的点是:要特判以n-1、n、1是否连续掉落(以n为中间);以及n、1、2是否连续掉落(以n为开头) 1 #include <stdio.h> 2 #define MAX 1005 3 4 using namespace std; 5 6 struct Node{ 7 int apple; 阅读全文
posted @ 2019-12-10 23:31 北冥有鱼兮 阅读(358) 评论(0) 推荐(0) 编辑