
思维
文章平均质量分 85
Qer_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
B. The Queue codeforces398div2
B. The Queue time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Finally! Vasya have come of age and that means原创 2017-02-19 12:51:27 · 609 阅读 · 0 评论 -
764D Timofey and rectangles[思维][染色]
D. Timofey and rectangles time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output One of Timofey's birthday present原创 2017-02-12 16:09:06 · 443 阅读 · 0 评论 -
764E Timofey and remoduling[数学]
E. Timofey and remoduling time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Little Timofey likes integers a l原创 2017-02-12 17:36:08 · 634 阅读 · 0 评论 -
761D Dasha and Very Difficult Problem[数学][思维]
D. Dasha and Very Difficult Problem time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Dasha logged into the s原创 2017-02-14 10:52:55 · 498 阅读 · 0 评论 -
761E Dasha and Puzzle[dfs][思维]
E. Dasha and Puzzle time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Dasha decided to have a rest after solv原创 2017-02-14 11:13:49 · 333 阅读 · 0 评论 -
codeforces807div2 C.Success Rate[二分][数学]
C. Success Rate time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output You are an experienced Codeforces user. Tod原创 2017-05-11 21:07:43 · 527 阅读 · 0 评论 -
codeforces807div2 D.Dynamic Problem Scoring[暴力][贪心]
D. Dynamic Problem Scoring time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Vasya and Petya take part in a C原创 2017-05-11 21:19:42 · 505 阅读 · 0 评论 -
codeforces807div2 E.Prairie Partition[二分]
E. Prairie Partition time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output It can be shown that any positive inte原创 2017-05-11 21:31:59 · 714 阅读 · 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 · 377 阅读 · 0 评论