\documentclass[a4paper,12pt]{article}
\usepackage{myXsim}
\usepackage{pgfplots}
\pgfplotsset{compat = newest}
\usepgfplotslibrary{external} 
\tikzexternalize

% Title Page
\title{ DS2 \hfill  Sujet 1}
\tribe{2nd}
\date{11 octobre 2021}
\duree{1h}

\DeclareExerciseCollection[step=1]{banque}
\xsimsetup{collect,
}


\begin{document}
\maketitle

Le barème est donné à titre indicatif, il pourra être modifié.

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

\newpage

\printsolutionstype{exercise}
\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "master"
%%% End: