思维
文章平均质量分 85
Qer_
这个作者很懒,什么都没留下…
展开
-
B. The Queue codeforces398div2
B. The Queuetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFinally! Vasya have come of age and that means原创 2017-02-19 12:51:27 · 580 阅读 · 0 评论 -
764D Timofey and rectangles[思维][染色]
D. Timofey and rectanglestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne of Timofey's birthday present原创 2017-02-12 16:09:06 · 415 阅读 · 0 评论 -
764E Timofey and remoduling[数学]
E. Timofey and remodulingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Timofey likes integers a l原创 2017-02-12 17:36:08 · 592 阅读 · 0 评论 -
761D Dasha and Very Difficult Problem[数学][思维]
D. Dasha and Very Difficult Problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDasha logged into the s原创 2017-02-14 10:52:55 · 468 阅读 · 0 评论 -
761E Dasha and Puzzle[dfs][思维]
E. Dasha and Puzzletime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDasha decided to have a rest after solv原创 2017-02-14 11:13:49 · 304 阅读 · 0 评论 -
codeforces807div2 C.Success Rate[二分][数学]
C. Success Ratetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are an experienced Codeforces user. Tod原创 2017-05-11 21:07:43 · 492 阅读 · 0 评论 -
codeforces807div2 D.Dynamic Problem Scoring[暴力][贪心]
D. Dynamic Problem Scoringtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya and Petya take part in a C原创 2017-05-11 21:19:42 · 455 阅读 · 0 评论 -
codeforces807div2 E.Prairie Partition[二分]
E. Prairie Partitiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt can be shown that any positive inte原创 2017-05-11 21:31:59 · 680 阅读 · 0 评论 -
HDU5972Regular Number [shiftand][字符串]
题意:给定n个集合,每个集合中有一些数字,问给出的一个长数字串中的所有匹配。 匹配:如果连续n个数字分别出现在1~n这些集合中,则是一个成功的匹配。 考虑每个数字出现的集合,用十个01二进制表示0~9这十个数字出现在那些集合中(预处理占位),然后通过左移操作和与运算验证是否匹配到n位。 使用bitset更方便操作。#include<bits/stdc++.h>using namespace s原创 2017-08-17 21:36:00 · 343 阅读 · 0 评论