![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
打表
不徐不急
命,弱者的借口;运,强者的谦词。
展开
-
数数字(UVa1225)打表法
原题: Trung is bored with his mathematics homeworks. He takes a piece of chalk and starts writing a sequence of consecutive integers starting with 1 to N (1 < N < 10000). After that, he counts th...原创 2019-04-17 19:57:51 · 332 阅读 · 0 评论 -
计蒜客——忽明忽暗
首先,这是一道模拟题,但数据范围很大,1e18. 所以,我们先暴力求解+打表,发现一下规律: #include<iostream> #include<cstring> #include<string> #include<cmath> #define ll long long using namespace std; const i...原创 2019-09-09 18:51:43 · 236 阅读 · 1 评论