\documentclass[a4paper,10pt]{article}
\usepackage{myXsim}
%\usepackage[inline]{enumitem}
%\usepackage{tasks}

\title{DS 4 \hfill Annexe}
\tribe{Terminale L-ES}
\date{18 décembre 2019 \hfill Nom-Prénom:}

\pagestyle{empty}

\newcommand\annexe{%
\maketitle

\bigskip

{\large Exercice 1}

\begin{center}
\begin{minipage}{0.5\linewidth}
    \begin{algorithm}[H]
        \SetAlgoLined
        $u \leftarrow 150$ \;
        $n \leftarrow 0$ \;
        \Tq{$n \cdots\cdots\cdots$}{
            $u \leftarrow \cdots\cdots\cdots$ \;
            $n \leftarrow n+1$ \;
        }
    \end{algorithm}
\end{minipage}
\end{center}
    
{\large Exercice 2}
\begin{center}
    \begin{tikzpicture}[grow=right, xscale=2, yscale=0.7]
        \node {$\bullet$} 
        child {node {$E$}
            child {node {$G$}}
            child {node {$\overline{G}$}} 
        }
        child[missing] {}
        child { node {$M$}
            child {node {$G$}}
            child {node {$\overline{G}$}} 
        } 
        child[missing] {}
        child { node {$F$}
            child {node {$G$}}
            child {node {$\overline{G}$}} 
        } ;
    \end{tikzpicture}
\end{center}

}

\begin{document}

\annexe

\vfill

\annexe


\end{document}

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