Project Euler #244: Sliders

  • + 0 comments

    input:

    5
    WRRRR
    RRRRR
    RRRBB
    BBBBB
    BBBBB
    BBBBB
    BBBBB
    BBRRR
    RRRRR
    RRRRW
    

    output: 46051340