摘要: /*https://www.nowcoder.com/profile/2538016/codeBookDetail?submissionId=28987592*/#include using namespace std; typedef struct node{ int data; struct node* lchild; struct node* rchild; }Bitree;... 阅读全文
posted @ 2018-07-09 21:15 buerdepepeqi 阅读(156) 评论(0) 推荐(0) 编辑
摘要: C. Sonya and Robots time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Since Sonya is intere 阅读全文
posted @ 2018-07-09 20:48 buerdepepeqi 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.nowcoder.com/acm/contest/131/A来源:牛客网 题目描述 ZZT 创造了一个队列 Q。这个队列包含了 N 个元素,队列中的第 i 个元素用 Qi 表示。Q1 表示队头元素,QN 表示队尾元素。队列中的元素是 N 的一个全排列。 ZZT 需要在这 阅读全文
posted @ 2018-07-07 14:19 buerdepepeqi 阅读(160) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-07-05 09:30 buerdepepeqi 阅读(7) 评论(0) 推荐(0) 编辑
摘要: D. Suit and Tie time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Suit and Tie time lim 阅读全文
posted @ 2018-06-25 21:37 buerdepepeqi 阅读(201) 评论(0) 推荐(0) 编辑
摘要: B. World Cup time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Allen wants to enter a fan z 阅读全文
posted @ 2018-06-25 21:23 buerdepepeqi 阅读(580) 评论(0) 推荐(0) 编辑
摘要: C. Alphabetic Removals time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are given a s 阅读全文
posted @ 2018-06-23 11:54 buerdepepeqi 阅读(345) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.nowcoder.com/acm/contest/134/I来源:牛客网 题目描述 铁子的班级在毕业晚会有一个合唱节目,到了毕业晚会的时候,他们必须排成一排一起合唱"认错","当然是选择原谅他"等一系列原谅歌曲,但是当队形布置好的时候,领导们觉得队形里最长的连续的女生的 阅读全文
posted @ 2018-06-19 20:13 buerdepepeqi 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 链接:https://www.nowcoder.com/acm/contest/134/H来源:牛客网 题目描述 有n个盒子摆成一排,每个盒子内都有ai个糖果。 现在你可以执行以下操作: ·你可以选择任意一个盒子,在选择的盒子内吃掉一个糖果。 对你的要求如下: ·任何m个相邻的盒子内糖果数量不能超过 阅读全文
posted @ 2018-06-18 01:00 buerdepepeqi 阅读(190) 评论(0) 推荐(0) 编辑
摘要: C. Two Squares time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given two squares, 阅读全文
posted @ 2018-06-17 15:31 buerdepepeqi 阅读(329) 评论(0) 推荐(0) 编辑