3

answersActually, the question in the subject. Do you make a truth table? If Yes, give, please, examples of such tasks where you have to do it.

asked April 8th 20 at 17:21

3

answersI have many unique combinations of 3 digits from different numbers from 1 to 100. Is there any algorithm for finding such sets of rows of numbers in the decomposition to the combination will give the original set? Example :
This :
1 2 3
1 2 4
1 3 4
2 3 4
Answer: 1 2 3 4
You need to find a new set of rows which minimizes the...

asked April 8th 20 at 03:02

1

answerHi all.
there are options Vue of ranting.
options must look for the type /param=value/param=value/ etc.
some may be and some may not be.
Here such variant works:const routes = [
'/product/country=country/',
'/product/country=:country/page=:page/',
'/product/country=:country/status=:status/',
'/product/country=:country/color...

asked April 3rd 20 at 18:37

1

answerHow many nine-digit numbers whose sum of digits which even?

asked April 1st 20 at 17:11

2

answersHow many words containing five letters each, can be composed of 33 letters, if - they go to repeat, but no two adjacent letters should not overlap, i.e. words like “press” or “quarrel” is not allowed?
Answer: 33*32^5

asked April 1st 20 at 17:09

4

answersThe issue is.
We've got 15 rows, each row with 3 options. We can of 15 lines fix a few options.
Then enter the number of options (for example 3) and the script should generate a result view
1-(1);2-(2);3-(1);4-(3);5-(1);6-(1);7-(1);8-(1);9-(1);10-(1);11-(1);12-(1);13-(1);14-(1);15-(1),
1-(1);2-(2);3-(1);4-(3);5-(2);6-(1);...

asked March 31st 20 at 22:06

3

answersFor example there is an array of$array = [1, 2, 3, 4, 5]
And you need to add up these numbers in different variations
1+2
1+3
1+4
1+2+4
3+2+5
etc.
The point is that there is a large list of prices and I need to know the amount of public goods gives a certain value.
I.e. if the sum of these elements, for example equal to 20,...

asked March 31st 20 at 21:58

1

answerThe book should be read easily, or at least medium. Level for reading this book is a school program in mathematics and Computer Science. She also needs to be expanded on the topics related to CS and also to povestvuetsya in the form of light. It must be some kind of introductory tutorial before the middle of combinatorics. ...

asked March 31st 20 at 20:34

1

answerNeed to do the algorithm in C++ for the compilation of all combinations of numbers in the range from 1 to N, of finite length, K.
Example input:
N = 2
K = 2
An example of the output:
11
12
21
22

asked March 31st 20 at 20:08

1

answerHi!
I want to loop through all the formulas of arbitrary length P.
The formula uses constants 0, 1, 2, variable X, and the operations -, +, * and parentheses.
"formula length" is the number of operations i.e., if the size n of the formula would be:
1.) 0 + 1; x * 2
4.) x * x + 2 * x + 1; (1 + x) * 1 * 2 + 0
This is how t...

asked March 31st 20 at 16:01