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做了一个 大家没事可以看看
|
|