查看完整版本: [-- 一个被考烂掉的笔试题目的qt解法 --]

QTCN开发网 -> Qt代码秀 -> 一个被考烂掉的笔试题目的qt解法 [打印本页] 登录 -> 注册 -> 回复主题 -> 发表主题

cangyuegui 2013-02-24 23:44

一个被考烂掉的笔试题目的qt解法

Below is the requirement for the project. You need to have a configuration file in which you should have an URL and the starting number of the puzzle, e.g. the number is 1, means the program will extract all puzzles, if the number is 50, then it will extract puzzles starting from puzzle 50 to the end.
This is a very straight-forward screen scraping job which can be done in your language of choice: perl, python, php, java, net, ruby, whatever. Deliverables will be excel output and code.
We need to screenscrape data for the Arukone puzzles located here at the following URL:
http://www.menneske.no/arukone/5x5/eng/?number=1
Output should be one excel file includes all puzzles.Every puzzle should be outputed like: puzzle number, difficulty level, and location of each numbered point in the order (number, row coordinate, column coordnate).
For example, the sample 5x5 puzzle located at http://www.menneske.no/arukone/5x5/eng/?number=499
would have output:499,super easy,3,0,4499,super easy,2,1,1499,super easy,3,1,3499,super easy,1,1,4499,super easy,2,3,4499,super easy,1,4,4There should be 1,434(constant) puzzles for the 5x5 excel file.If you have questions, please do not hesitate to call or write I our senior engineer will answer all your questions or guide you through the test.Please reply with your estimated finish date.

被考烂掉了
但是网上竟然只有java的解法 还不是多线程的
于使用qt做了一个
大家没事可以看看


麦涛1990 2013-04-22 22:40
为什么我编译不能通过?
mingw32-make: *** [debug] Error 2
22:31:46: 进程"D:\QT\MinGW-gcc440_1\mingw\bin\mingw32-make.exe"退出,退出代码 2 。
Error while building/deploying project puzzle (target: 桌面)
When executing step 'Make'
Error while building/deploying project puzzle1 (target: 桌面)
When executing step 'qmake'
一堆错误

cangyuegui 2013-05-26 12:26
引用第1楼麦涛1990于2013-04-22 22:40发表的  :
为什么我编译不能通过?
mingw32-make: *** [debug] Error 2
22:31:46: 进程"D:\QT\MinGW-gcc440_1\mingw\bin\mingw32-make.exe"退出,退出代码 2 。
Error while building/deploying project puzzle (target: 桌面)
When executing step 'Make'
.......


你确定你的qt是好的么

在qtcreator环境下配置正确 是一定可以编译的
因为几乎没有引用什么库
检查一下设置

lch922 2013-07-03 17:45
代码最好不要放到带中文路径的目录下。


查看完整版本: [-- 一个被考烂掉的笔试题目的qt解法 --] [-- top --]



Powered by phpwind v8.7 Code ©2003-2011 phpwind
Gzip disabled