The calculated distance (air line) between Melzo and Rimini is approximately 184 miles respectively 295 kilometers.
By car or train, the actual journey to Rimini is certainly longer, as only the direct route (as the crow flies) between Melzo and Rimini has been calculated here.