You don't need two resistors. Actually, the two branches consisting of diodes and DC sources can be (and are in real applications) connected in parallel.