The only corner case could be ignored is that when one is longer than another, but the exceeding part is all 0, in this case the answer should be 0 rather -1 or 1. A good example here is 1.0.0.0 and 1.0
The only corner case could be ignored is that when one is longer than another, but the exceeding part is all 0, in this case the answer should be 0 rather -1 or 1. A good example here is 1.0.0.0 and 1.0

guandali/winter-camp,guandali/winter-camp