Aleksandr72
?>

Віднови ланцюжок чисел 42 45 49 54 94

Информатика

Ответы

Ioanova Korneeva1093
...60,67, 75, 84,94
Каждое последующее число увеличивается на один больше, чем предыдущее
tefdst
def dijkstra(graph, node): """ Simulate the dijkstra algorithm in a graph """ distance_to = {} distance_to[node] = 0 distance_path = {} while (distance_to): # in case we have a disjoint graph op_node = min_distance(distance_to) distance_path[op_node] = distance_to[op_node] del distance_to[op_node] for x, x_len in graph[op_node].items(): if x not in distance_path: if x not in distance_to: distance_to[x] = distance_path[op_node] + x_len elif distance_to[x] > distance_path[op_node] + x_len: distance_to[x] = distance_path[op_node] + x_len return distance_path
Андреевнатест707
11010000101000011101000010111010110100001011111011010001100000001101000010111110001000001101000010111101110100001011000011010001100000011101000110000010110100011000001111010000101111111101000010111000110100011000001000100000110100001011110111010000101111101101000010110010110100011000101111010000101110010010000011010000101100111101000010111110110100001011010000101110001000001101000010011101110100001011000000100000110100001001110111010000101111101101000010110010110100011000101111010000101110010010000011010000101100111101000010111110110100001011010000100000110100001011101111010001100011101101000010110100110100001011100000100000110100001011010011010000101100001101000110000000110100011000111111010001100000100010000011010000101101001101000110000000110100011000001111010000101100110010000011010000101101001101000110000000110100011000001111010000101100111101000110000011001000001101000010111111110100001011111011010000101101001101000010110000110100011000000011010000101110101101000010111000001011100010000011010000100101001101000010110101110100001011010000100000110100001001110011010000101111101101000110000000110100001011111011010000101101110010000011010000101111111101000010111110110100001011010011010000101100001101000110000000110100001011100011010000101110110010000011010000101111001101000010111101110100001011010100100000110100001011110111010000101100000010000011010000100111011101000010111110110100001011001011010001100010111101000010111001001000001101000010110011110100001011111011010000101101000010000011010001100000001101000010110000110100001011010011010000101110001101000010111110110100011000001111010000101111111101000110000000110100001011000011010000101100101101000010111011110100011000111111010000101101011101000010111100110100011000001111010001100011100010000011010000101111001101000010110000110100011000100011010000101110001101000010111101110100011000001100101110001000001101000010101111001000001101000010111011110100011000111011010000101100011101000010111011110100011000111000100000110100001011101011010001100000111101000110001000110100001011000011010001100000101101000110001100001000001101000010110000110100001011111111010000101101011101000010111011110100011000110011010001100000011101000010111000110100001011110111010001100010110010000011010000101111011101000010110000001000001101000010011101110100001011111011010000101100101101000110001011110100001011100100100000110100001011001111010000101111101101000010110100001011100010000011010000100111011101000010110000001000001101000010011101110100001011111011010000101100101101000110001011110100001011100100100000110100001011001111010000101111101101000010110100001000001101000010111000110100011000000111010000101111111101000010111110110100001011101111010000101111011101000110001111110100011000111011010001100000101101000110000001110100011000111100100000110100001011110011010000101101011101000110000111110100011000001011010001100010110010111000100000110100001001110111010000101100000010000011010000100111011101000010111110110100001011001011010001100010111101000010111001001000001101000010110011110100001011111011010000101101000010000011010000101111111101000110000000110100001011111011010000101110001101000110000001110100011000010111010000101111101101000010110100110100011000111111010001100000100010000011010001100001111101000110000011110100001011010011010000101101011101000110000001110100001011000000101110

вот удачи))

Ответить на вопрос

Поделитесь своими знаниями, ответьте на вопрос:

Віднови ланцюжок чисел 42 45 49 54 94
Ваше имя (никнейм)*
Email*
Комментарий*