/* 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 { { int m[][] = new int[30][2]; for(int i = 0; i < m.length; i++) { m[i][0] = rand.nextInt(2400); m[i][1] = rand.nextInt(400); } // Exibindo o que foi criado for(int i = 0; i < m.length; i++) { } } }
Standard input is empty
{1521, 215} {934, 171} {1093, 149} {1053, 121} {2231, 298} {515, 203} {2163, 188} {34, 301} {788, 372} {910, 342} {134, 122} {1850, 274} {1222, 188} {1318, 305} {1669, 378} {662, 203} {107, 49} {318, 366} {2041, 371} {1018, 358} {903, 64} {1754, 247} {140, 275} {2363, 346} {2235, 170} {240, 2} {1098, 275} {1727, 394} {2063, 96} {1352, 205}