Решите задачу для следующих наборов входных данных: p = 1, k = 1, a = -100, program [1]
p = -10, k = 1, a = 100, program [1]
p = 1, k = 10, a = 100, program [2]
p = 1, k = -10, a = -10, program [2]
p = -10, k = 10, a = 10, program [1,2]
p = 10, k = -10, a = 10, program [1,2]
p = -10, k = 10, a = 10, program [2,1]
p = -10, k = -10, a = 1, program [1,2,1]
p = -5, k = 5, a = 5, program [2,1,2]
p = -1, k = 3, a = 1, program [2,1,2]
p = 1, k = 2, a = 3, program [1,2,2,1]
p = 9, k = 1, a = 8, program [1,1,1,1,1,1,1,1,1,1]
p = -10, k = 1, a = 10, program [1,1,1,1,1]
p = -10, k = 5, a = -86, program [1,1,1,1,1,1,1,1,1,1]
p = 1, k = 6, a = 5, program [2,2,2,2,2,2,2,2,2,2]
p = 1, k = -10, a = 96, program [2,2,2,2,2,2,2,2,2,1]
p = 1, k = -9, a = -100, program [2,2,2,2,2,2,2,2,2,2]
p = -10, k = 10, a = 97, program [1,2,1,2,1,2,1,2,1,2]
p = -10, k = -10, a = 84, program [1,1,1,1,1,2,2,2,2,2]
p = -10, k = -10, a = 100, program [2,2,2,2,2,1,1,1,1,1]

Отправьте на проверку текстовый файл с результатами для каждого набора данных

volden05 volden05    1   31.01.2022 05:30    0

Другие вопросы по теме Информатика