11 lines
300 B
Text
11 lines
300 B
Text
const N=5;
|
|
var rows=(0).pump(N,List, (0).pump.fp(N,List,(1).random.fpM("1-",21)) );
|
|
try{
|
|
foreach r in (N){
|
|
foreach c in (N){
|
|
x:=rows[r][c]; x.print(",");
|
|
if (x==20) { println("Found it!"); throw(Exception.Generic); }
|
|
}
|
|
}
|
|
println("Not found");
|
|
}catch(Generic){}
|