[Week1][Problem3][CPP][PASSED]Fence Problem