Little girl Tanya climbs the stairs inside a multi-storey building. Every time Tanya climbs a stairway, she starts counting steps from 11 to the numbe ...
分类:
其他好文 时间:
2018-07-28 11:38:00
阅读次数:
203
1001 Absolute 1002 Counting Permutations 标算卡不过阿??? 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long LL; 4 int mod, g[222], h[222] ...
分类:
其他好文 时间:
2018-07-27 14:51:15
阅读次数:
248
[题目链接] http://poj.org/problem?id=2282 [算法] 数位DP [代码] ...
分类:
其他好文 时间:
2018-07-25 17:49:22
阅读次数:
198
配置本机的用户名和Email地址 使用init命令将当前目录初始化为Git仓库 将数据提交到git仓库 第一步:添加文件 第二步:提交文件 第三步:推送到远程 git push 不成功用这个命令 git push --set-upstream origin master Counting objec ...
分类:
其他好文 时间:
2018-07-25 11:36:59
阅读次数:
895
The task is simple: given any positive integer N, you are supposed to count the total number of 1's in the decimal form of the integers from 1 to N. F ...
分类:
其他好文 时间:
2018-07-24 23:51:17
阅读次数:
299
题目大意就是将前n个数字按顺序写在一起,然后统计这整个由数字组成的串中0-9各出现了几次。代码如下,比较容易理解。 ...
分类:
编程语言 时间:
2018-07-23 12:40:06
阅读次数:
169
Little girl Tanya climbs the stairs inside a multi storey building. Every time Tanya climbs a stairway, she starts counting steps from 1 to the number ...
分类:
其他好文 时间:
2018-07-21 22:42:02
阅读次数:
230
Given a string and an integer k, you need to reverse the first k characters for every 2k characters counting from the start of the string. If there ar ...
分类:
其他好文 时间:
2018-07-16 13:59:11
阅读次数:
141
Description Due to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 <= N <= 10 ...
分类:
其他好文 时间:
2018-07-12 23:52:07
阅读次数:
241
POJ 2386 Lake Counting Due to recent rains, water has pooled in various places in Farmer John's field, which is represented by a rectangle of N x M (1 ...
分类:
其他好文 时间:
2018-07-11 22:52:16
阅读次数:
153