Find Jobs
Hire Freelancers

Its a code in C++

$10-30 USD

进行中
已发布大约 8 年前

$10-30 USD

货到付款
A classic computer science puzzle is the eight queens puzzle. It is the problem of placing eight chess queens on the 8*8 chessboard so that no two queens threaten each other. Thus a solution requires that no two queens share the same row, column or diagonal. The eight queens puzzle is an example of the more general n-queens problem of placing n queens on the n*n chessboard, where solution exists for all natural numbers n with the exception of n =2 and n=3. The problem will be to solve a related problem, the n knights puzzle. It is the problem of placing 2n knights on an n*n chessboard, where no night can capture any other knight. Design a program that can determine how many solutions the n-knights puzzle has for any number n. To accomplish this you may choose any algorithm you want including trying every possible combination. However you must use a data structure that contains within it many objects of a class that describe the solutions. You can choose to create the data structure or use a preexisting one, but you must create a custom class to describe a solution. The user should be prompted to enter a number to use for n. if they enter invalid data, they should see an error and have to retry their input. Upon entering a valid number, you should stat processing. Periodically you should output what percent complete you are, showing at least an output every 10% of completion. Once the processing is complete you should tell the user the number of solutions you have found. The user should then be able to enter either Q to quit or the number of a solution. If the solution number does not exist show an error and allow the user to enter a new input. If the solution exists, show it in ASCII art, pretending the screen is infinitely tall and wide. Do not worry if the real screen wraps the output. Then prompt the user again, repeatedly until they finally quit.
项目 ID: 10212327

关于此项目

16提案
远程项目
活跃8 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hello, I am a Software Engineer and a competitive programmer and I have been using C++ for all my projects and coding contests. I currently rank 493 out of almost 38000 competitive programmers. Link to check - [login to view URL] Since I have a lot of experience in coding with C++, I can assure you that I will be able to complete the task that you specify and deliver it to you on time. Hoping to work with you. Thank You.
$20 USD 在1天之内
5.0 (36条评论)
4.4
4.4
16威客以平均价$36 USD来参与此工作竞价
用户头像
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$80 USD 在1天之内
4.8 (53条评论)
6.1
6.1
用户头像
Hi, i can deliver this project in less than 24 hours. Thank you.
$35 USD 在1天之内
5.0 (42条评论)
5.3
5.3
用户头像
Hi, I am an experienced C++ programmer. I can do this assignment. Please contact me via private message.
$30 USD 在1天之内
5.0 (34条评论)
4.7
4.7
用户头像
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
$25 USD 在1天之内
4.6 (18条评论)
3.9
3.9
用户头像
I can solve your problem within 2 days. Quickly and well. I have a lot of experience with C++ and algorithms. I have recently graduated from the second-best IT university in Europe (University of Warsaw).
$50 USD 在2天之内
5.0 (11条评论)
3.7
3.7
用户头像
Thanks for your project. I have 25 years experience programming in C++. I will create a C++ program to output solutions to the n-knights problem. A milestone payment for the full budget for this project must be deposited with this site before your offer can be accepted. Alan Idler Chief Software Architect Idleswell Software Creations
$105 USD 在3天之内
5.0 (2条评论)
3.8
3.8
用户头像
puzzle algorithm are perform to complete output. also implement the n queen problem. pales trust me.
$25 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
<<<< Please chat first i can help you low budget >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ((((((((((((((((((((((((((((((((((((((((((((((((((((((((((())))))))))))))))))))))))))))))))))))
$10 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
I worked in c++ for 3 years and working in Java....i have excellent logical skill. I am working in infosys as SE
$30 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Dear Employer! Your task is very exciting, I would be happy to write this code. Please, specify the time, by which you want the program to be done. I think that, besides the Solution class, the program should contain a Chessboard class, a Knight class and a SolutionFinder class. It seems nice to realize the set of solutions as a vector, because the number of solutions is unknown. In any case, if you have any additional considerations, we could discuss it over chat. I am interactive and friendly :).
$15 USD 在10天之内
0.0 (0条评论)
0.0
0.0
用户头像
i've done this before
$20 USD 在3天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
United States
0.0
0
付款方式已验证
会员自4月 13, 2016起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。