
递推
不拿牌不改名
ACM刚入门,博客写错了可以留言给我啊
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces Round #597 (Div. 2) C题
C. Constanze’s Machine Constanze is the smartest girl in her village but she has bad eyesight. One day, she was able to invent an incredible machine! When you pronounce letters, the machine will inscr...原创 2019-11-02 10:46:46 · 294 阅读 · 0 评论 -
[USACO17JAN]Secret Cow Code秘密奶牛码(洛谷 P3612)
[USACO17JAN]Secret Cow Code秘密奶牛码 题目描述 The cows are experimenting with secret codes, and have devised a method for creating an infinite-length string to be used as part of one of their codes. Given a s...原创 2019-10-19 17:11:58 · 1160 阅读 · 0 评论 -
数的计算(P1028)
数的计算 题目描述 我们要求找出具有下列性质数的个数(包含输入的自然数n): 先输入一个自然数n(n≤1000),然后对此自然数按照如下方法进行处理: 1.不作任何处理; 2.在它的左边加上一个自然数,但该自然数不能超过原数的一半; 3.加上数后,继续按此规则进行处理,直到不能再加自然数为止. 输入格式 1个自然数n(n≤1000) 输出格式 1个整数,表示具有该性质数的个数。 输入 #1 6 ...原创 2019-10-13 15:22:44 · 265 阅读 · 0 评论