
codeforces
文章平均质量分 76
Jstyle_AC
我欲成仙,必要坚持
展开
-
cf- #346 A-Round House
#include using namespace std;/**************************************************************************************************************** 思路: 水题,注意数据正负和范围**********原创 2016-04-12 23:36:01 · 234 阅读 · 0 评论 -
codeforces - 276D【贪心+数学】
D. Little Girl and Maximum XORtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA little girl loves problems on bitwis原创 2017-01-16 20:31:48 · 330 阅读 · 0 评论 -
codeforces #371div2 (ABC)
A. Meeting of Old Friendstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday an outstanding event is goin原创 2016-09-14 20:06:48 · 774 阅读 · 0 评论 -
cf - 140 C. New Year Snowmen(贪心+优先队列)
C. New Year Snowmentime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs meticulous Gerald sets the table and原创 2016-07-28 10:30:41 · 556 阅读 · 0 评论 -
cf - 140 A. New Year Table(模拟)
A. New Year Tabletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGerald is setting the New Year table. The原创 2016-07-28 10:14:10 · 535 阅读 · 0 评论 -
cf - 629D Babaei and Birthday Cake(DP+线段树维护)
D - Babaei and Birthday CakeTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit Status Practice CodeForces 629DAppoint description: System Crawler (201原创 2016-07-15 15:10:57 · 606 阅读 · 0 评论 -
cf - 670C Cinema(预处理)
题目链接:http://codeforces.com/contest/670/problem/C#include #include #include #include #define MAX 200005using namespace std;/*********************************************************************原创 2016-06-20 01:54:12 · 489 阅读 · 1 评论 -
cf #360 div2 D-Remainders Game(中国剩余定理)
D. Remainders Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday Pari and Arya are playing a game ca原创 2016-07-01 00:59:31 · 704 阅读 · 0 评论 -
cf #360 div2C - NP-Hard Problem(二分图判断+输出)
C. NP-Hard Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently, Pari and Arya did some researc原创 2016-06-30 23:13:12 · 899 阅读 · 2 评论 -
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 · 618 阅读 · 0 评论 -
cf - #346 C-Tanya and Toys
#include #include using namespace std;/******************************************************************************************************************* 贪心:排序,水过去原创 2016-04-12 23:46:20 · 270 阅读 · 0 评论 -
cf - #346 D-Bicycle Race
#include #define MAX 1010using namespace std;/******************************************************************************************************************** 最大的矩形四个顶点肯定不是危险;原创 2016-04-12 23:45:20 · 204 阅读 · 0 评论 -
cf - #346 E-New Reform
#include #include using namespace std;/**************************************************************************************************************** 题意: 给你一个图原创 2016-04-12 23:43:05 · 458 阅读 · 0 评论 -
codeforces 760E or 759C 【线段树维护后缀和】
C. Nikita and stacktime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNikita has a stack. A stack in this problem is a原创 2017-01-24 17:15:10 · 698 阅读 · 0 评论