An Offline-Online Riemann Solver for One-Dimensional Systems of Conservation Laws