Олимпиадный тренинг

Задача . 14-g


Задача

Темы:
Construct the method
public Cart leaveLine(int n)
that removes the cart at position n from line by shifting down all the array entries bigger than n, before returning the indicated Cart object. You may assume that a cart exists at position n.

time 500 ms
memory 256 Mb
Правила оформления программ и список ошибок при автоматической проверке задач

Статистика успешных решений по компиляторам
 Кол-во
Java15
Комментарий учителя