摘要: 题目链接:http://acm.tju.edu.cn/toj/showp2839.html(真的找不到链接了) 题目大意: 给你一个范围A~B,求出在整数A 到B之间,0到9这十个数字,分别出现了多少次? 1≤A,B≤10^18 样例输入 129 137 样例输出 1 10 2 9 1 1 ... 阅读全文
posted @ 2016-11-03 22:29 OxQ 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 前言 几个星期后,我再打果然..各种细节QwQ【所以把代码丢这里容易找一点... 后缀数组模版+注释 #include#include#include#includeusing namespace std;int sa[11000],y[11000],rank[11000];//sa[i... 阅读全文
posted @ 2016-11-03 10:16 OxQ 阅读(145) 评论(0) 推荐(0) 编辑