不懂
张小象
编程,我自己的能力!!!!
展开
-
poj 1442 Black Box
Black Box Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 8847 Accepted: 3636 Description Our Black Box represents a primitive database. It can save an int原创 2015-08-19 20:41:59 · 700 阅读 · 0 评论 -
poj 2299Ultra-QuickSort
树状数组 求逆序数 poj 2299 这里说的很好,把求逆序的步骤说的很明白,我也是看完才懂的,之前自己想了很久就是不明白为什么可以用树状数组求逆序 转载: 树状数组,具体的说是 离散化+树状数组。这也是学习树状数组的第一题. 算法的大体流程就是: 1.先对输入的数组离散化,使得各个元素比较接近,而不是离散的, 2.接着,运用树状数组的标准操作来累计数组的逆序数。 算法详原创 2015-09-17 23:44:27 · 418 阅读 · 0 评论 -
CodeForces 631A Interview
Interview time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Blake is a CEO of a large company called "Blake Te原创 2016-03-14 17:36:58 · 270 阅读 · 0 评论