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

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

\pagestyle{empty}

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

\begin{document}

\input{exercises.tex}
\vfill
\printcollection{banque}
\vfill
\printcollection{banque}
\vfill

\end{document}
