#a very hard problem

25 messages · Page 1 of 1 (latest)

sand wagonBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

meager carbon
#

You joined this server today.
What did you think are the services this community provides?
Did you read the #rules ?

pastel palm
#

Are you trying to pass the pool of a 42 school ?

still vortex
#

for a starter, look up permutations and combinations

#

nvm this is easier than expected

#

no need for that

regal flower
#

just calculate 10² (so in your example 10²) and make a loop with i < result

#

You'll need math.h for that

pastel palm
#

5. We're happy to help you learn, however, we do not condone academic dishonesty. We will not take your tests for you or write programs for you. Likewise avoid giving full solutions to problems when helping other members.

#

what did you test so far ?

safe bolt
#

If we all did that, there would be no civilization

#

Start using your brain and think about the problem. Take a piece of paper and write the pattern until you understand and then reproduce it with code

#

Look on google for combinatorics

pastel palm
#

maybe you could try first these exercises, which are in the same spirit but easier

cold glen
#

You have to try stuff and play around

#

Trial and error is a great way to learn

#

Programming is a creative problem solving process

#

It'd be boring if it was trivial

#

Hint: ||There is a good recursive solution for this if you are familiar with recursion||

sand wagonBOT
#

@gleaming nacelle Has your question been resolved? If so, run !solved :)

safe bolt
#

Understandable. For the future, communicating that you specifically ask for hints would be more optimal. Good luck for the rest

cold glen
#

Happy to help, let us know if you have more questions 🙂

sand wagonBOT
#

This question thread is being automatically closed. If your question is not answered feel free to bump the post or re-ask. Take a look at !howto ask for tips on improving your question.

sand wagonBOT
#

This question thread is being automatically closed. If your question is not answered feel free to bump the post or re-ask. Take a look at !howto ask for tips on improving your question.

sand wagonBOT
#

This question thread is being automatically marked as solved.