===== PascalABC.NET =====
begin
var n := ReadInteger;
var a := ReadArrInteger(n);
a := Arr(a[n - 1]) + a[:n - 1];
a.Print
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
===== PascalABC.NET =====
begin
var n := ReadInteger;
var a := ReadArrInteger(n);
a := Arr(a[n - 1]) + a[:n - 1];
a.Print
end.