Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import std.stdio;
- import std.uni;
- import std.algorithm;
- import std.file;
- void main()
- {
- int[] arr = [1, 2, 3];
- arr = arr[$-1 .. arr.length];
- writeln(arr);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement