• + 0 comments

    **long lights(int n) { long ways = 1; for(int i = 0 ; i < n ; i++){ ways *= 2; if(ways > 100000) ways %= 100000; } return ways-1;