- 博客(7)
- 收藏
- 关注
原创 cf #360 div2C - NP-Hard Problem(二分图判断+输出)
C. NP-Hard Problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Recently, Pari and Arya did some researc
2016-06-30 23:13:12 860 2
原创 cf - 670C Cinema(预处理)
题目链接:http://codeforces.com/contest/670/problem/C #include #include #include #include #define MAX 200005 using namespace std; /*********************************************************************
2016-06-20 01:54:12 430 1
原创 cf #345 div2 C(Vasya and String。双端队列)
题目链接:http://codeforces.com/contest/676/problem/C #include #include #include using namespace std; /*************************************************************************************************
2016-06-13 12:27:10 572
原创 PAT - L2-011. 玩转二叉树(分冶)
L2-011. 玩转二叉树 时间限制 400 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 给定一棵二叉树的中序遍历和前序遍历,请你先将树做个镜面反转,再输出反转后的层序遍历的序列。所谓镜面反转,是指将所有非叶结点的左
2016-06-04 23:36:49 3662 3
原创 PAT - L2-010. 排座位(并查集)
L2-010. 排座位 时间限制 150 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 布置宴席最微妙的事情,就是给前来参宴的各位宾客安排座位。无论如何,总不能把两个死对头排到同一张宴会桌旁!这个艰巨任务现在就交给你,
2016-06-04 23:35:49 2471 3
原创 PAT - L1-020. 帅到没朋友(裸并查集)
L1-020. 帅到没朋友 时间限制 200 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 当芸芸众生忙着在朋友圈中发照片的时候,总有一些人因为太帅而没有朋友。本题就要求你找出那些帅到没有朋友的人。 输入格式:
2016-06-04 23:34:03 3498
原创 UVa - 10881 Piotr's Ants(技巧题)
题目链接:http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=25979 #include #include #include #include using namespace std; /******************************************************************
2016-06-01 08:52:17 311
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人