Сул Гудцитирует2 месяца назад
int shortest_line_index(int lines[], int n) {

int j;

int shortest = 0;

for (j = 1; j < n; j++)

if (lines[j] < lines[shortest])

shortest = j;

return shortest;

}
  • Войти или зарегистрироваться, чтобы комментировать