In this problem, there are conditional blocks. If your solution works correctly for certain constraints, it will receive a certain number of points. Note that the evaluation is still in the testing phase.

\begin{itemize}
\item ($37$ points): $ x,d \le 2 \cdot 10^{5}$;
\item ($63$ points): without additional constraints.
\end{itemize}