Pentomino tiling: Difference between revisions

m
→‎{{header|Java}}: rand doesn't have to be global
m (→‎{{header|Java}}: correction)
m (→‎{{header|Java}}: rand doesn't have to be global)
Line 41:
 
static final char[] symbols = "FILNPTUVWXYZ-".toCharArray();
static final Random rand = new Random();
 
static final int nRows = 8;
Line 52 ⟶ 51:
 
public static void main(String[] args) {
static final Random rand = new Random();
 
for (int r = 0; r < nRows; r++)
Anonymous user