这个是VB的代码,用来解决八皇后问题。关于八皇后问题得解决,网上有很多的C的代码。把老东西挖出来把自己的门面充大点,这就是我的本意。总体来说八皇后问题是用来考查编程者对C语言的递归理解与运用的,我是受到蛊惑才费尽心血写出来的,当然我没用VB的递归来解决问题,一是用VB这样编效率太低,二是在我写这些代码的时候,我还根本不能熟练运用递归的方法。我要告诉每一位同学,你如果自己用VB写出八皇后,江苏的二级电脑考试上机你就没问题了。-code for queen
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001371s ]
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.071790s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.001871s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001485s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001381s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.005863s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.001444s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.006619s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.024109s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001534s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 236809 [ RunTime:0.014670s ]