Assume, without loss of generality, that x<y<z<t. Then 2x+2y+2z+2t=305⋅2a, whence
2x⋅(1+2y−x+2z−x+2t−x)=305⋅2a(1)
Since x<y<z<t, the numbers y−x, z−x and t−x are positive integers, hence 2y−x, 2z−x, 2t−x are even, and 1+2y−x+2z−x+2t−x is odd.
For parity reasons, (1) yields 2x=2a and 1+2y−x+2z−x+2t−x=305, hence x=a and 2y−x+2z−x+2t−x=304.
This gives
2y−x⋅(1+2z−y+2t−y)=24⋅19,
whence y−x=4, so y=a+4.
Moreover, 1+2z−y+2t−y=19, so 2z−y(1+2t−z)=2⋅9, therefore z−y=1 and t−z=3, that is z=y+1=a+5 and t=z+3=a+8.
The above yield
a+x+y+z+t=a+a+(a+4)+(a+5)+(a+8)=5a+17=5⋅(a+3)+2,
so the remainder of the division of the sum a+x+y+z+t by 5 is 2.