Answer the question
In order to leave comments, you need to log in
Task: How to find from a limited number of numbers those from which it is possible to compose an input number?
Good afternoon dear community!
Faced the following algorithmic task:
Given a number, for example 2028
and also given a list of numbers entered from the keyboard: 1000, 56, 28, 88, 1999
It is necessary to create an algorithm that would display numbers (pairs, triples ...) from which you can compose the first number (i.e. the number 2028)
Can be implemented in any programming language or pseudocode.
I would be very grateful for any help!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question