fork download
  1. r="replace";a=()=>Math.floor(Math.random()*6)+1;b=(x,y)=>3*x*y*(x*x+6*y*y)%7;u=()=>{x=a(),y=a();z=b(x,y);if(z==0)u();return" ________\r\n \/\\ \\\r\n \/ \\ 1 \\\r\n{ 2 }-------}\r\n \\ \/ 3 \/\r\n \\\/_______\/"[r](1,x)[r](2,y)[r](3,z);}
  2. print(u());
Success #stdin #stdout 0.01s 30384KB
stdin
Standard input is empty
stdout
  ________
  /\       \
 /  \   6   \
{ 2  }-------}
 \  /   3   /
  \/_______/