#CJam, 48 bytes
CJam, 48 bytes
This is super huge. I am not sure if there are any good algorithms to do the task. This is just a brute force.
q:Q;{Q(+2/zs:R,3-_0>{,{RQI>3<#W>}fI}{;}?]1b0>}gR
#CJam, 48 bytes
This is super huge. I am not sure if there are any good algorithms to do the task. This is just a brute force.
q:Q;{Q(+2/zs:R,3-_0>{,{RQI>3<#W>}fI}{;}?]1b0>}gR
CJam, 48 bytes
This is super huge. I am not sure if there are any good algorithms to do the task. This is just a brute force.
q:Q;{Q(+2/zs:R,3-_0>{,{RQI>3<#W>}fI}{;}?]1b0>}gR
#CJam, 48 bytes
This is super huge. I am not sure if there are any good algorithms to do the task. This is just a brute force.
q:Q;{Q(+2/zs:R,3-_0>{,{RQI>3<#W>}fI}{;}?]1b0>}gR