现实问题模拟:一块方巾有多处被细菌感染,可以看做多个感染区域,给定一点(即一个坐标),标识出该点所在区域。简单的divide and conque 应用-Simulate the real problem: there is a square of multiple bacterial infections, multiple infections can be seen as regional, for a given point (that is, a coordinate), identify the point region. Application of a simple divide and conque
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001040s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.073516s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000991s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001145s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.000852s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003198s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000888s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003721s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.015093s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001240s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 295188 [ RunTime:0.015723s ]