/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Ideone { static ArrayList<Integer> makeSequence(int begin, int end) { for(int i = begin; i <= end; ret.add(i++)); return ret; } static void printFirst(ArrayList<Integer> col, int len) { for(int i = 0; i < len; i++) } { final ArrayList<Integer> all = makeSequence(0, 1000); printFirst(all, 15); printFirst(all, 15); printFirst(all, 15); printFirst(all, 15); printFirst(all, 15); printFirst(all, 15); } }
Standard input is empty
in order 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, shuffle 611, 147, 677, 287, 475, 126, 217, 165, 725, 479, 453, 286, 298, 206, 258, shuffle 825, 340, 549, 307, 831, 612, 55, 502, 844, 679, 96, 814, 764, 747, 366, obviously should be the same 825, 340, 549, 307, 831, 612, 55, 502, 844, 679, 96, 814, 764, 747, 366, shuffle 782, 791, 477, 978, 920, 533, 503, 703, 882, 70, 854, 630, 828, 177, 814, shuffle 774, 136, 89, 55, 298, 587, 871, 913, 706, 928, 51, 982, 458, 909, 104,