Two superconductors near a giant magnet