Skip to main content
deleted 19 characters in body
Source Link

Java (OpenJDK 8), 200 190190 170 bytes

n->{for(char i=0,s[][]=new char[n][4+n+n];i<n;s[i][2+n+i]=92s[];i<n;s[-~n-i]=47,s[i][0]=i<1|i>ns[2+n+i]=92,s[0]=i<1|i>n-2?40:'|',s[i][3+n+n]=i<1|i>ns[3+n+n]=i<1|i++>n-2?41:'|',System.out.println("".valueOf(s[i++]s).replace('\0',' ')))s[i][3/2+n-i]=47;s=new char[4+n+n];}

Try it online!Try it online!

Java (OpenJDK 8), 200 190 bytes

n->{for(char i=0,s[][]=new char[n][4+n+n];i<n;s[i][2+n+i]=92,s[i][0]=i<1|i>n-2?40:'|',s[i][3+n+n]=i<1|i>n-2?41:'|',System.out.println("".valueOf(s[i++]).replace('\0',' ')))s[i][3/2+n-i]=47;}

Try it online!

Java (OpenJDK 8), 200 190 170 bytes

n->{for(char i=0,s[];i<n;s[-~n-i]=47,s[2+n+i]=92,s[0]=i<1|i>n-2?40:'|',s[3+n+n]=i<1|i++>n-2?41:'|',System.out.println("".valueOf(s).replace('\0',' ')))s=new char[4+n+n];}

Try it online!

deleted 9 characters in body
Source Link

Java (OpenJDK 8), 200200 190 bytes

n->{char[][]s=new char[n][4+2*n];forfor(intchar i=0,j=2*n;i<n;s[i][(3+j)/2-i]=47,s[i][2+n+i]=92s[][]=new char[n][4+n+n];i<n;s[i][2+n+i]=92,s[i][0]=i<1|i>n-2?40:'|',s[i][3+j]=i<1|i>ns[i][3+n+n]=i<1|i>n-2?41:'|',System.out.println("".valueOf(s[i++]).replace('\0',' ')));s[i][3/2+n-i]=47;}

Try it online!Try it online!

Java (OpenJDK 8), 200 bytes

n->{char[][]s=new char[n][4+2*n];for(int i=0,j=2*n;i<n;s[i][(3+j)/2-i]=47,s[i][2+n+i]=92,s[i][0]=i<1|i>n-2?40:'|',s[i][3+j]=i<1|i>n-2?41:'|',System.out.println("".valueOf(s[i++]).replace('\0',' ')));}

Try it online!

Java (OpenJDK 8), 200 190 bytes

n->{for(char i=0,s[][]=new char[n][4+n+n];i<n;s[i][2+n+i]=92,s[i][0]=i<1|i>n-2?40:'|',s[i][3+n+n]=i<1|i>n-2?41:'|',System.out.println("".valueOf(s[i++]).replace('\0',' ')))s[i][3/2+n-i]=47;}

Try it online!

Source Link

Java (OpenJDK 8), 200 bytes

n->{char[][]s=new char[n][4+2*n];for(int i=0,j=2*n;i<n;s[i][(3+j)/2-i]=47,s[i][2+n+i]=92,s[i][0]=i<1|i>n-2?40:'|',s[i][3+j]=i<1|i>n-2?41:'|',System.out.println("".valueOf(s[i++]).replace('\0',' ')));}

Try it online!