  We report the discovery of a planet in a binary that was discovered from the
analysis of the microlensing event OGLE-2018-BLG-1700. We identify the triple
nature of the lens from the fact that the complex anomaly pattern can be
decomposed into two parts produced by two binary-lens events, in which one
binary pair has a very low mass ratio of $\sim 0.01$ between the lens
components and the other pair has a mass ratio of $\sim 0.3$. We find two sets
of degenerate solutions, in which one solution has a projected separation
between the primary and its stellar companion less than the angular Einstein
radius $\thetae$ (close solution), while the other solution has a separation
greater than $\thetae$ (wide solution). From the Bayesian analysis with the
constraints of the event time scale and angular Einstein radius together with
the location of the source lying in the far disk behind the bulge, we find that
the planet is a super-Jupiter with a mass of $4.4^{+3.0}_{-2.0}~M_{\rm J}$ and
the stellar binary components are early and late M-type dwarfs with masses
$0.42^{+0.29}_{-0.19}~M_\odot$ and $0.12^{+0.08}_{-0.05}~M_\odot$,
respectively, and the planetary system is located at a distance of $D_{\rm
L}=7.6^{+1.2}_{-0.9}~{\rm kpc}$. The planet is a circumstellar planet according
to the wide solution, while it is a circumbinary planet according to the close
solution. The projected primary-planet separation is $2.8^{+3.2}_{-2.5}~{\rm
au}$ commonly for the close and wide solutions, but the primary-secondary
binary separation of the close solution, $0.75^{+0.87}_{-0.66}~{\rm au}$, is
widely different from the separation, $10.5^{+12.1}_{-9.2}~{\rm au}$, of the
wide solution.
