Cool S by ungolfed thing i generated the examples with

#include <stdio.h>

int main()
{
    int width, pos;
    scanf("%d", &width);
    if(!width%2)
        width++;
    if(width < 5)
        width = 5;
    if(width > 200)
        width = 199;
    int i, j;
    for(i = 0; i < width/2; i++){
        for(j = 0; j < width; j++){
            if(j == width/2 - 1 - i){
                putchar(47);
            } else if(j == width/2 + 1 + i){
                putchar(92);
            } else {
                putchar(32);
            }
        }
        putchar(10);
    }
    for(i = 0; i < width/2; i++){
        for(j = 0; j < width; j++){
            if(!j || j == width/2 || j == width - 1){
                putchar(124);
            } else {
                putchar(32);
            }
        }
        putchar(10);
    }
    for(i=0; i <= width/2; i++){
        for(j = 0; j < width; j++){
            if(i < (width/2 + 1)/2){
                pos = width - i - 1;
            } else if(i >= (width/2 + 1)/2){
                pos = width/2 - i;
            } else {
                pos = -1;
            }
            if(j == i || j == i + width/2){
                putchar(92);
            } else if(j == pos){
                putchar(47);
            } else {
                putchar(32);
            }
        }
        putchar(10);
    }
    for(i=0; i < width/2; i++){
        for(j = 0; j < width; j++){
            if(j == 0 || j == width/2 || j == width - 1){
                putchar(124);
            } else {
                putchar(32);
            }
        }
        putchar(10);
    }
    for(i=0; i < width/2; i++){
        for(j = 0; j < width; j++){
            if(j == i){
                putchar(92);
            } else if(j == width - 1 - i){
                putchar(47);
            } else {
                putchar(32);
            }
        }
        putchar(10);
    }
    return 0;
}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page