Assuming that there is three line of circuit and our amper ring is surrounded just two circuit . According to amper law the magnitude of B is just related to the circuits in the ring . But here the magnitude of B is affected by the circuit outside of the ring,too though it's not shown on the other side. Does it a paradox ?
I believe your confusion lies in when Ampère's law can be applied.
Ampère's law only applies in situations with sufficient symmetry, that is situations in which the magnetic field is the same at every point in the Ampèrian loop. For example in the case of an infinitely long wire.
I assume what you are talking about is a case with three parallel wires an you place an Ampèrian loop around two of them. In this case the magnetic field is evidently not the same around the entire loop. In this case you can use the Biot-Savart law which does not have any symmetry requirements.