Ответ:
1
Объяснение:
i = 1 j = 1 s = 0
s = 0 + 2 * 1 - 1 = 0 + 2 - 1 = 1
i = 1 j = 2 s = 1
s = 1 + 2 * 1 - 2 = 1 + 2 - 2 = 1
i = 1 j = 3 s = 1
s = 1 + 2 * 1 - 3 = 1 + 2 - 3 = 0
i = 1 j = 4 s = 0
s = 0 + 2 * 1 - 4 = 0 + 2 - 4 = -2
i = 2 j = 2 s = -2
s = -2 + 2 * 2 - 2 = -2 + 4 - 2 = 0
i = 2 j = 3 s = 0
s = 0 + 2 * 2 - 3 = 0 + 4 - 3 = 1
i = 2 j = 4 s = 1
s = 1 + 2 * 2 - 4 = 1 + 4 - 4 = 1
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
1
Объяснение:
i = 1 j = 1 s = 0
s = 0 + 2 * 1 - 1 = 0 + 2 - 1 = 1
i = 1 j = 2 s = 1
s = 1 + 2 * 1 - 2 = 1 + 2 - 2 = 1
i = 1 j = 3 s = 1
s = 1 + 2 * 1 - 3 = 1 + 2 - 3 = 0
i = 1 j = 4 s = 0
s = 0 + 2 * 1 - 4 = 0 + 2 - 4 = -2
i = 2 j = 2 s = -2
s = -2 + 2 * 2 - 2 = -2 + 4 - 2 = 0
i = 2 j = 3 s = 0
s = 0 + 2 * 2 - 3 = 0 + 4 - 3 = 1
i = 2 j = 4 s = 1
s = 1 + 2 * 2 - 4 = 1 + 4 - 4 = 1