\documentclass[a4paper,10pt]{article}
\usepackage{myXsim}

\author{Benjamin Bertrand}
\title{Dérivation - exercices}
\date{septembre 2021}

\thispagestyle{empty}

\DeclareExerciseCollection[step=4]{banque}
\xsimsetup{
    collect,
    exercise/the-counter=4
}

\begin{document}

\renewcommand{\arraystretch}{1}
\input{exercises.tex}
\printcollection{banque}

\end{document}
