Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.

Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.

Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.

If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "

Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.

Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.

Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.

If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.

No advertising or soliciting.

We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.

I'm having trouble with the SPOJ problem below. While I'm new to C# I feel like I understand the concepts and am simply having trouble transferring it into code. More than anything the structure of the code is what I can't seem to picture in my head. To my understanding I need to find Brenda's optimal line first and then find out how best for Ann to react.

I'm at the point where I think I need less of a hint and more of a semi-solution so I can figure out where the gap in my understand is. Any help at all would be appreciated.

We have a project in which I am the head creator and we are in need of an algorithm. The algorithm must consist of multiple variables that will conclude the best possible option(s) based off of information collected by the user (if more details are needed please ask and I may be able to answer them based on the question). Can anyone help in creating the algorithm or direct us to someone who can help? Any guidance would be appreciated, thank you.

How do you expect us to ask you questions for details (not to say giving any answers) if you do not provide any details to start with...
What 'variables', what 'best possible option', what information collected', what 'user'?

I realize it was very general. I was more looking for someone who might be able to help with this and I can go into more details with that individual. I can explain a little more. We are working with some basketball coaches and part of the project is asking the question, how can a coach mathematically determine the best athlete for the program by the statistics each athlete provides while calculating what the coach needs to help their program? Also we would like to calculate the distance from the athlete to the program to give the probability of which player would be the best choice. I hope this provides a little more insight on the project.

If you are trying to recruit a developer to write code for you then you are on the wrong site. Take another look at the link I posted in my previous response, which explains how to formulate a valid question.

Richard, could you be so kind and direct me to where I can find what I am looking for, rather then just a question? This is my first attempt and I don't want to be wasting anyone's time. I would appreciate your help, thank you.

Oops! I don't really think this is hacking. This is something which is not ilegal because if you ask operators for the unlock code, they will give you but sometimes they want you to use their service for a long time and they will delay your time. Perhaps, I want to start with modem and later learn the ones for phones that are shipped outside their country of operation since some of these phones come to my country and some become useless because the relatives of those who shipped the phones have no knowledge of this.

Unlocking with any means is not ilegal. Please check your laws and the meaning of hacking and compare them if they have a link. There is a calculator for that but it is online and I want to do this to help people who do not have internet connectivity always get the chance of calculating unlock codes.
Please understand this is not for my own selfish need. I just want to put my programming skills into use by helping those people. Unlocking is neither ilegal nor hacking.

Thank you for your suggestion but I don't really think they are going to give out that. If so, they are going to ask me for product details or question to verify I have bought from them which I don't have because when I use their products, I buy them from retailers who are not accredited dealers. Buddy, if you know this just help me out if you don't know too let me know.

Hi,
I'm looking to buid a program that works like a dating site and that matches you with the best options available for you. They usually show the results starting from the closest and then expanding the research larger and larger.

I'm doing my project in the US and Canada for my 1st test.

I'm woundering how can I set this up to be the smartest way possible.
Is it IP location, Latitude and Longitude, city....???

Do I need a complete database with all the distances between all the citites in the US and Canada?
Or maybe instead of a database with the cities, regroup the cities by urban Areas to make the matrix smaller?

I've been trying to work with a programmer and he says that to do what they do we would need a big computing power that for a little project can't be possible.

I'M confused and decided to come here for some help and see what you find coder have to say about all this.

I've been trying to work with a programmer and he says that to do what they do we would need a big computing power that for a little project can't be possible

Not based on your description.

Basic steps
- Determine a location. Ask them or attempt a service look up for IP (ask is probably better.)
- Then use a zip code location match to find a geo location for the zip code.
- Then 'draw' a box around the zip code - maybe based on user input miles from location.
- Then do a database geo look up to find others based on whether they are in the box or not.

More complex stuff than that happens on my personal development box every day.