![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
个人代码
文章平均质量分 81
Fy_Bishop
这个作者很懒,什么都没留下…
展开
-
Translation 之 map 解决
就这道题用map给出自己的算法。DescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to h原创 2013-09-23 20:51:04 · 607 阅读 · 0 评论 -
没学数论就刷题的渣渣 zju 1073 Round and Round We Go 之渣渣解题法与大神算法
ProblemA cyclic number is an integer n digits in length which, when multiplied by any integer from 1 to n, yields a ��cycle�� of the digits of the original number. That is, if you consider the num原创 2013-10-29 23:02:51 · 470 阅读 · 0 评论 -
解析cout与printf、i++与++i之间的速度差别
cout与printf之间的速度差异之前一直对cout与printf的速度不是很了解,只是听师兄说过cout比printf慢。而cout之所以效率低,是因为先把要输出的东西存入缓冲区,再输出,导致效率降低。而具体慢多少我也不清楚,今天写了一个程序测试了一下:#include #include #include using namespace std;class Timer {原创 2013-12-30 23:45:07 · 472 阅读 · 0 评论