codeforces
文章平均质量分 57
demerzel
这里是一个蒟蒻
展开
-
Codeforces Round #395 (Div. 2) A B题 题解
题目链接:http://codeforces.com/contest/764只做出了2题,C题很悲伤的没有看懂。。。A. Taymyr is calling youtime limit per test1 secondmemory limit per test256 megabytesinputst原创 2017-02-03 09:55:19 · 353 阅读 · 0 评论 -
codeforces 782a Andryusha and Socks
A. Andryusha and Sockstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndryusha is an orderly boy and like原创 2017-05-21 10:55:40 · 373 阅读 · 0 评论 -
codeforces 782b The Meeting Place Cannot Be Changed
B. The Meeting Place Cannot Be Changedtime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe main road in Byt原创 2017-05-21 10:58:08 · 212 阅读 · 0 评论 -
codeforces 91b Queue
题意是给你一个数组,对每个数求它最右的一个比他小的数和他的距离。 考虑二分该数右边的区间,先求(mid,r)的最小值,如果小于该数就接着二分区间最小值用线段树维护。#include #include using namespace std;const int MAXN=100010;int num[MAXN];templatestruc原创 2017-07-28 20:11:32 · 354 阅读 · 0 评论