The set {(x,y)∈R2∣⌊x+y⌋⋅⌈x+y⌉=(⌊x⌋+⌈y⌉)(⌈x⌉+⌊y⌋),0≤x,y≤100} can be thought of as a collection of line segments in the plane. If the total length of those line segments is a+bc for c squarefree, find a+b+c.
(⌊z⌋ is the greatest integer less than or equal to z, and ⌈z⌉ is the least integer greater than or equal to z, for z∈R.)