
codeforces
帆帆帆帆帆丶
。。。。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CodeForces - 762C Two strings
CodeForces - 762C Two stringsYou are given two strings a and b. You have to remove the minimum possible number of consecutive (standing one after another) characters from string b in such a way that ...转载 2018-03-06 20:25:59 · 433 阅读 · 0 评论 -
Codeforces 797C Minimal string
Codeforces 797C Minimal stringPetya recieved a gift of a string s with length up to 105 characters for his birthday. He took two more empty strings t and u and decided to play a game. This game has tw...原创 2018-02-25 11:31:48 · 364 阅读 · 0 评论 -
codeforces 9C Hexadeciaml's Numbers
题目大意:给出数n(1<=n<=10^9),求不超过n,只由0、1构成的数的个数。分析:1位数:12位数:10、113位数:100、101、110、111……即有:k位数:a、bk+1位数:a*10,a*10+1,b*10,b*10+1。#include<bits/stdc++.h> using namespace std; int ans=0; void dfs(int...原创 2018-02-25 11:27:33 · 260 阅读 · 0 评论