No matter how hard the past is, you can always begin again. 不管过去有多么困难,你都可以重新开始。 Honestly, I don't agree with your opinion, I think it is just a toxic ...
分类:
其他好文 时间:
2018-01-20 22:42:02
阅读次数:
177
题目链接:http://codeforces.com/problemset/problem/903/D 题目大意:就是给你n个数a1,a2,…,an,然后在1到n范围内求函数d(x,y)的和。 这道题可以这么想,就是先不考虑x,y的大小关系,直接认为d(x,y)= y - x 。记最后结果为sum, ...
分类:
其他好文 时间:
2017-12-21 01:49:19
阅读次数:
190
1 工具准备 1)下载DOSBOX 工具介绍:DOSBox 是一个 DOS 模拟程序,由于它采用的是 SDL 库,所以可以很方便的移植到其他的平台。目前,DOSBox 已经支持在 Windows、Linux、Mac OS X、BeOS 、palmOS、Android 、webOS、os/2等系统中运 ...
分类:
编程语言 时间:
2017-11-29 11:33:48
阅读次数:
266
Recently Ivan noticed an array a while debugging his code. Now Ivan can't remember this array, but the bug he was trying to fix didn't go away, so Iva ...
分类:
其他好文 时间:
2017-11-14 17:14:50
阅读次数:
225
I remember tears streaming down your face, When I said I'll never let you go. When all those shadows almost killed your light, I remember you said don ...
分类:
其他好文 时间:
2017-11-03 20:13:37
阅读次数:
187
The TCP/IP Guide ... Page 41, 42... Goals of The TCP/IP Guide | 本书的目标 Every author who sets out to write a book or other document has certain objectiv ...
分类:
其他好文 时间:
2017-10-03 10:46:56
阅读次数:
261
1、Educational Codeforces Round 29 F.Almost Permutation (见CF题记《Educational Codeforces Round 29》) ...
分类:
其他好文 时间:
2017-09-26 00:58:37
阅读次数:
113
From:http://moodycamel.com/blog/2014/a-fast-general-purpose-lock-free-queue-for-c++ So I've been bitten by the lock-free bug! After finishing my singl ...
分类:
编程语言 时间:
2017-09-15 12:16:58
阅读次数:
254
Life doesn't get easier, you just get stronger. 生活从未变得轻松,是你在一点一点变得坚强。 So in the same way we can get the other opposite conclusion: Life doesn't get ha ...
分类:
其他好文 时间:
2017-09-01 01:00:07
阅读次数:
197
How do we measure a CPU's work? Whether it's fast or not depends on three factors: IPC, Hz, Clock speed. IPC means instructions per cycle, Hertz[Hz] m ...
分类:
其他好文 时间:
2017-08-18 11:07:29
阅读次数:
188