\documentclass[a4paper,11pt]{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[french]{babel}
\usepackage[a4paper,top=3.2cm,bottom=2cm,left=2cm,right=2cm]{geometry}
\usepackage{graphicx}
\usepackage[export]{adjustbox}
\usepackage{fancyhdr}
\usepackage{qrcode}
\usepackage[table]{xcolor}
\usepackage{amsmath,amssymb}
\usepackage{enumitem}
% Puces nettes (babel-french remplace sinon la puce par un tiret « – » peu pro).
% Vaut pour TOUTES les fiches qui importent ce module. AtBeginDocument pour
% passer après la personnalisation des listes faite par babel-french.
\AtBeginDocument{%
  \setlist[itemize]{leftmargin=1.8em,itemsep=0.5ex,topsep=0.4ex,parsep=0pt}%
  \setlist[itemize,1]{label=\textcolor{red!75!black}{\small\textbullet}}%
  \setlist[itemize,2]{label=\textcolor{red!75!black}{\scriptsize\textbullet}}%
}
% Titres compacts (gain de place vertical, fiches plus denses) — vaut pour tous.
\usepackage{titlesec}
\titlespacing*{\section}{0pt}{1.4ex}{0.6ex}
\titlespacing*{\subsection}{0pt}{1.0ex}{0.3ex}
% multicol : listes denses (calcul mental) sur 2 colonnes — neutre tant qu'il
% n'est pas utilisé, dispo pour tous les générateurs.
\usepackage{multicol}
\setlength{\columnsep}{1.5em}
% needspace : empêche un titre d'exercice de rester orphelin en bas de page
% (réserve quelques lignes ; sinon le titre passe à la page suivante avec sa
% liste). Neutre tant qu'il n'est pas appelé — dispo pour tous les générateurs.
\usepackage{needspace}
\usepackage{tikz}
\usetikzlibrary{decorations.text}

\usepackage{tgheros}
\pagestyle{fancy}
\fancyhf{}
\setlength{\headheight}{75pt}
\setlength{\headsep}{10pt}

\newcommand{\logowouf}{%
\begin{tikzpicture}[baseline={(current bounding box.center)},scale=0.55,
                    line cap=round,line join=round]
    \path[use as bounding box] (-2.20,-1.45) rectangle (2.20,2.20);
    \path[
        postaction={decorate},
        decoration={
            text along path,
            text={|\fontfamily{qhv}\bfseries\fontsize{9}{9}\selectfont|site2wouf.fr},
            text align={center},
            raise=0.03ex
        }
    ] (-1.29,0.48) arc[start angle=160,end angle=20,radius=1.29];
    \begin{scope}[xshift=-0.06cm]
        \fill[black] (-0.66,0.14) ellipse (0.21 and 0.31);
        \fill[black] ( 0.66,0.14) ellipse (0.21 and 0.31);
        \fill[black] (-0.23,0.49) ellipse (0.22 and 0.35);
        \fill[black] ( 0.23,0.49) ellipse (0.22 and 0.35);
        \fill[black]
            (0,-0.10)
            .. controls (-0.36,-0.02) and (-0.63,-0.24) .. (-0.58,-0.58)
            .. controls (-0.52,-0.93) and (-0.16,-1.12) .. (0,-0.90)
            .. controls (0.16,-1.12) and (0.52,-0.93) .. (0.58,-0.58)
            .. controls (0.63,-0.24) and (0.36,-0.02) .. (0,-0.10)
            -- cycle;
    \end{scope}
\end{tikzpicture}%
}
\DeclareUnicodeCharacter{2460}{\textcircled{\scriptsize 1}}
\DeclareUnicodeCharacter{2461}{\textcircled{\scriptsize 2}}
\DeclareUnicodeCharacter{2462}{\textcircled{\scriptsize 3}}
\DeclareUnicodeCharacter{2463}{\textcircled{\scriptsize 4}}
\DeclareUnicodeCharacter{2464}{\textcircled{\scriptsize 5}}
\DeclareUnicodeCharacter{2465}{\textcircled{\scriptsize 6}}
\DeclareUnicodeCharacter{2466}{\textcircled{\scriptsize 7}}
\DeclareUnicodeCharacter{2467}{\textcircled{\scriptsize 8}}
\DeclareUnicodeCharacter{2468}{\textcircled{\scriptsize 9}}
\DeclareUnicodeCharacter{2469}{\textcircled{\scriptsize 10}}
\DeclareUnicodeCharacter{246A}{\textcircled{\scriptsize 11}}
\DeclareUnicodeCharacter{246B}{\textcircled{\scriptsize 12}}
\DeclareUnicodeCharacter{246C}{\textcircled{\scriptsize 13}}
\DeclareUnicodeCharacter{246D}{\textcircled{\scriptsize 14}}
\DeclareUnicodeCharacter{246E}{\textcircled{\scriptsize 15}}
\DeclareUnicodeCharacter{246F}{\textcircled{\scriptsize 16}}
\DeclareUnicodeCharacter{2470}{\textcircled{\scriptsize 17}}
\DeclareUnicodeCharacter{2471}{\textcircled{\scriptsize 18}}
\DeclareUnicodeCharacter{2472}{\textcircled{\scriptsize 19}}
\DeclareUnicodeCharacter{2473}{\textcircled{\scriptsize 20}}
\DeclareUnicodeCharacter{24B6}{\textcircled{\scriptsize A}}
\DeclareUnicodeCharacter{24B7}{\textcircled{\scriptsize B}}
\DeclareUnicodeCharacter{24B8}{\textcircled{\scriptsize C}}
\DeclareUnicodeCharacter{24B9}{\textcircled{\scriptsize D}}
\DeclareUnicodeCharacter{24BA}{\textcircled{\scriptsize E}}
\DeclareUnicodeCharacter{24BB}{\textcircled{\scriptsize F}}
\DeclareUnicodeCharacter{24BC}{\textcircled{\scriptsize G}}
\DeclareUnicodeCharacter{24BD}{\textcircled{\scriptsize H}}
\DeclareUnicodeCharacter{24BE}{\textcircled{\scriptsize I}}
\DeclareUnicodeCharacter{24BF}{\textcircled{\scriptsize J}}
\DeclareUnicodeCharacter{24C0}{\textcircled{\scriptsize K}}
\DeclareUnicodeCharacter{24C1}{\textcircled{\scriptsize L}}
\DeclareUnicodeCharacter{24C2}{\textcircled{\scriptsize M}}
\DeclareUnicodeCharacter{24C3}{\textcircled{\scriptsize N}}
\DeclareUnicodeCharacter{24C4}{\textcircled{\scriptsize O}}
\DeclareUnicodeCharacter{24C5}{\textcircled{\scriptsize P}}
\DeclareUnicodeCharacter{24C6}{\textcircled{\scriptsize Q}}
\DeclareUnicodeCharacter{24C7}{\textcircled{\scriptsize R}}
\DeclareUnicodeCharacter{24C8}{\textcircled{\scriptsize S}}
\DeclareUnicodeCharacter{24C9}{\textcircled{\scriptsize T}}
\DeclareUnicodeCharacter{24CA}{\textcircled{\scriptsize U}}
\DeclareUnicodeCharacter{24CB}{\textcircled{\scriptsize V}}
\DeclareUnicodeCharacter{24CC}{\textcircled{\scriptsize W}}
\DeclareUnicodeCharacter{24CD}{\textcircled{\scriptsize X}}
\DeclareUnicodeCharacter{24CE}{\textcircled{\scriptsize Y}}
\DeclareUnicodeCharacter{24CF}{\textcircled{\scriptsize Z}}
\DeclareUnicodeCharacter{24D0}{\textcircled{\scriptsize a}}
\DeclareUnicodeCharacter{24D1}{\textcircled{\scriptsize b}}
\DeclareUnicodeCharacter{24D2}{\textcircled{\scriptsize c}}
\DeclareUnicodeCharacter{24D3}{\textcircled{\scriptsize d}}
\DeclareUnicodeCharacter{24D4}{\textcircled{\scriptsize e}}
\DeclareUnicodeCharacter{24D5}{\textcircled{\scriptsize f}}
\DeclareUnicodeCharacter{24D6}{\textcircled{\scriptsize g}}
\DeclareUnicodeCharacter{24D7}{\textcircled{\scriptsize h}}
\DeclareUnicodeCharacter{24D8}{\textcircled{\scriptsize i}}
\DeclareUnicodeCharacter{24D9}{\textcircled{\scriptsize j}}

\newcommand{\titre}{La tournée du facteur}
\newcommand{\soustitre}{Probl\`eme --- Fiche n\textdegree 334}

\fancyhead[C]{%
\raisebox{4pt}{%
\begin{minipage}[c]{0.15\textwidth}
    \centering
    \logowouf
\end{minipage}
\begin{minipage}[c]{0.62\textwidth}
    \centering
    {\Large\bfseries \titre\par}
    {\small\color{gray} \soustitre}
\end{minipage}
\begin{minipage}[c]{0.21\textwidth}
    \centering
    \qrcode[height=1.5cm]{https://site2wouf.fr/facteur_sans_retour.php?x=334}\\[2pt]
    {\small\ttfamily\bfseries\color{red} EULC0334}
\end{minipage}%
}
}

\begin{document}

\begin{center}
    \small Un facteur veut parcourir toutes les rues de son quartier en n'empruntant chacune qu'une seule fois. Selon le plan, c'est tantôt facile, tantôt impossible — et l'on peut le dire d'avance, sans essayer, en regardant simplement combien de rues aboutissent à chaque carrefour.
\end{center}
\vspace{0.5em}
\sloppy
\needspace{5\baselineskip}
\subsection*{\textcolor{red}{La tournée du facteur}}
\noindent Voici le plan d'un quartier.\par\addvspace{0.35em}
\needspace{3\baselineskip}
\begin{center}
\begin{tikzpicture}[scale=0.7057, line join=round, line cap=round]
\draw[line width=0.5pt] (4.098,8.495) -- (4.328,8.406) -- (4.561,8.323) -- (4.795,8.246) -- (5.031,8.174) -- (5.268,8.107) -- (5.508,8.046) -- (5.748,7.991) -- (5.99,7.941) -- (6.233,7.898) -- (6.477,7.859) -- (6.721,7.827) -- (6.967,7.8) -- (7.212,7.779) -- (7.459,7.764) -- (7.675,7.622) -- (7.887,7.474) -- (8.096,7.321) -- (8.302,7.163) -- (8.503,7.0) -- (8.701,6.832) -- (8.895,6.66) -- (9.085,6.484) -- (9.271,6.303) -- (9.452,6.118) -- (9.629,5.928) -- (9.801,5.735) -- (9.969,5.537) -- (10.131,5.336);
\draw[line width=0.5pt] (4.098,8.495) -- (4.161,8.228) -- (4.217,7.96) -- (4.266,7.691) -- (4.31,7.42) -- (4.347,7.149) -- (4.377,6.876) -- (4.402,6.603) -- (4.419,6.33) -- (4.431,6.056) -- (4.436,5.782) -- (4.434,5.508) -- (4.426,5.234) -- (4.412,4.96) -- (4.391,4.687);
\draw[line width=0.5pt] (1.26,8.426) -- (1.274,8.234) -- (1.292,8.043) -- (1.315,7.852) -- (1.343,7.662) -- (1.375,7.473) -- (1.411,7.284) -- (1.452,7.096) -- (1.497,6.909) -- (1.547,6.723) -- (1.601,6.539) -- (1.659,6.356) -- (1.722,6.174) -- (1.789,5.994) -- (1.86,5.816);
\draw[line width=0.5pt] (1.86,5.816) -- (2.052,5.763) -- (2.242,5.707) -- (2.431,5.645) -- (2.619,5.58) -- (2.805,5.509) -- (2.989,5.435) -- (3.172,5.356) -- (3.353,5.273) -- (3.531,5.185) -- (3.708,5.094) -- (3.882,4.998) -- (4.054,4.899) -- (4.224,4.795) -- (4.391,4.687);
\draw[line width=0.5pt] (10.131,5.336) -- (9.981,5.338) -- (9.831,5.336) -- (9.681,5.331) -- (9.531,5.322) -- (9.382,5.31) -- (9.232,5.294) -- (9.083,5.274) -- (8.935,5.252) -- (8.787,5.225) -- (8.64,5.196) -- (8.494,5.162) -- (8.348,5.126) -- (8.203,5.086) -- (8.06,5.042);
\draw[line width=0.5pt] (10.131,5.336) -- (9.979,5.103) -- (9.82,4.873) -- (9.656,4.648) -- (9.487,4.426) -- (9.313,4.208) -- (9.134,3.995) -- (8.949,3.785) -- (8.76,3.58) -- (8.566,3.38) -- (8.367,3.184) -- (8.164,2.993) -- (7.957,2.806) -- (7.745,2.625) -- (7.529,2.449);
\draw[line width=0.5pt] (10.131,5.336) -- (10.176,5.097) -- (10.227,4.86) -- (10.283,4.623) -- (10.345,4.388) -- (10.413,4.155) -- (10.486,3.923) -- (10.564,3.693) -- (10.648,3.464) -- (10.737,3.238) -- (10.831,3.014) -- (10.93,2.792) -- (11.035,2.573) -- (11.145,2.356) -- (11.26,2.142);
\draw[line width=0.5pt] (8.06,5.042) -- (7.804,4.977) -- (7.546,4.918) -- (7.287,4.865) -- (7.027,4.818) -- (6.765,4.777) -- (6.503,4.742) -- (6.24,4.713) -- (5.976,4.691) -- (5.712,4.675) -- (5.448,4.665) -- (5.183,4.661) -- (4.919,4.664) -- (4.655,4.672) -- (4.391,4.687);
\draw[line width=0.5pt] (8.06,5.042) -- (7.994,4.864) -- (7.932,4.685) -- (7.874,4.504) -- (7.821,4.321) -- (7.772,4.138) -- (7.728,3.953) -- (7.687,3.768) -- (7.651,3.581) -- (7.62,3.394) -- (7.593,3.206) -- (7.57,3.017) -- (7.552,2.828) -- (7.538,2.639) -- (7.529,2.449);
\draw[line width=0.5pt] (7.529,2.449) -- (7.797,2.468) -- (8.065,2.481) -- (8.333,2.487) -- (8.602,2.487) -- (8.87,2.481) -- (9.139,2.468) -- (9.407,2.45) -- (9.675,2.424) -- (9.941,2.393) -- (10.207,2.355) -- (10.472,2.311) -- (10.736,2.261) -- (10.999,2.205) -- (11.26,2.142);
\draw[line width=0.5pt] (7.529,2.449) -- (7.34,2.413) -- (7.152,2.372) -- (6.965,2.327) -- (6.78,2.277) -- (6.595,2.223) -- (6.412,2.164) -- (6.23,2.102) -- (6.049,2.035) -- (5.871,1.964) -- (5.694,1.888) -- (5.519,1.809) -- (5.345,1.725) -- (5.174,1.638) -- (5.005,1.546);
\filldraw[fill=red!16, draw=black, line width=0.5pt] (4.258,8.495) -- (4.237,8.575) -- (4.178,8.634) -- (4.098,8.655) -- (4.018,8.634) -- (3.96,8.575) -- (3.938,8.495) -- (3.96,8.415) -- (4.018,8.356) -- (4.098,8.335) -- (4.178,8.356) -- (4.237,8.415) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (1.42,8.426) -- (1.398,8.506) -- (1.34,8.564) -- (1.26,8.586) -- (1.18,8.564) -- (1.121,8.506) -- (1.1,8.426) -- (1.121,8.346) -- (1.18,8.287) -- (1.26,8.266) -- (1.34,8.287) -- (1.398,8.346) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (2.02,5.816) -- (1.998,5.896) -- (1.94,5.954) -- (1.86,5.976) -- (1.78,5.954) -- (1.721,5.896) -- (1.7,5.816) -- (1.721,5.736) -- (1.78,5.677) -- (1.86,5.656) -- (1.94,5.677) -- (1.998,5.736) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (10.291,5.336) -- (10.27,5.416) -- (10.211,5.474) -- (10.131,5.496) -- (10.051,5.474) -- (9.993,5.416) -- (9.971,5.336) -- (9.993,5.256) -- (10.051,5.197) -- (10.131,5.176) -- (10.211,5.197) -- (10.27,5.256) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (8.22,5.042) -- (8.198,5.122) -- (8.14,5.181) -- (8.06,5.202) -- (7.98,5.181) -- (7.921,5.122) -- (7.9,5.042) -- (7.921,4.962) -- (7.98,4.904) -- (8.06,4.882) -- (8.14,4.904) -- (8.198,4.962) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (4.551,4.687) -- (4.529,4.767) -- (4.471,4.826) -- (4.391,4.847) -- (4.311,4.826) -- (4.252,4.767) -- (4.231,4.687) -- (4.252,4.607) -- (4.311,4.549) -- (4.391,4.527) -- (4.471,4.549) -- (4.529,4.607) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (7.689,2.449) -- (7.667,2.529) -- (7.609,2.588) -- (7.529,2.609) -- (7.449,2.588) -- (7.39,2.529) -- (7.369,2.449) -- (7.39,2.369) -- (7.449,2.311) -- (7.529,2.289) -- (7.609,2.311) -- (7.667,2.369) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (11.42,2.142) -- (11.398,2.222) -- (11.34,2.281) -- (11.26,2.302) -- (11.18,2.281) -- (11.121,2.222) -- (11.1,2.142) -- (11.121,2.062) -- (11.18,2.004) -- (11.26,1.982) -- (11.34,2.004) -- (11.398,2.062) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (5.165,1.546) -- (5.144,1.626) -- (5.085,1.685) -- (5.005,1.706) -- (4.925,1.685) -- (4.867,1.626) -- (4.845,1.546) -- (4.867,1.466) -- (4.925,1.408) -- (5.005,1.386) -- (5.085,1.408) -- (5.144,1.466) -- cycle;
\filldraw[fill=white, draw=black, line width=0.5pt] (7.902,8.067) -- (7.856,8.237) -- (7.732,8.362) -- (7.562,8.407) -- (7.392,8.362) -- (7.268,8.237) -- (7.222,8.067) -- (7.268,7.897) -- (7.392,7.773) -- (7.562,7.727) -- (7.732,7.773) -- (7.856,7.897) -- cycle;
\node at (7.562,8.067) {\scalebox{1.417}{\small 1}};
\filldraw[fill=white, draw=black, line width=0.5pt] (5.061,6.628) -- (5.015,6.798) -- (4.891,6.922) -- (4.721,6.968) -- (4.551,6.922) -- (4.426,6.798) -- (4.381,6.628) -- (4.426,6.458) -- (4.551,6.333) -- (4.721,6.288) -- (4.891,6.333) -- (5.015,6.458) -- cycle;
\node at (4.721,6.628) {\scalebox{1.417}{\small 2}};
\filldraw[fill=white, draw=black, line width=0.5pt] (2.104,7.168) -- (2.058,7.338) -- (1.934,7.462) -- (1.764,7.508) -- (1.594,7.462) -- (1.47,7.338) -- (1.424,7.168) -- (1.47,6.998) -- (1.594,6.873) -- (1.764,6.828) -- (1.934,6.873) -- (2.058,6.998) -- cycle;
\node at (1.764,7.168) {\scalebox{1.417}{\small 3}};
\filldraw[fill=white, draw=black, line width=0.5pt] (3.642,5.648) -- (3.597,5.818) -- (3.472,5.943) -- (3.302,5.988) -- (3.132,5.943) -- (3.008,5.818) -- (2.962,5.648) -- (3.008,5.478) -- (3.132,5.354) -- (3.302,5.308) -- (3.472,5.354) -- (3.597,5.478) -- cycle;
\node at (3.302,5.648) {\scalebox{1.417}{\small 4}};
\filldraw[fill=white, draw=black, line width=0.5pt] (9.468,4.958) -- (9.423,5.128) -- (9.298,5.252) -- (9.128,5.298) -- (8.958,5.252) -- (8.834,5.128) -- (8.788,4.958) -- (8.834,4.788) -- (8.958,4.663) -- (9.128,4.618) -- (9.298,4.663) -- (9.423,4.788) -- cycle;
\node at (9.128,4.958) {\scalebox{1.417}{\small 5}};
\filldraw[fill=white, draw=black, line width=0.5pt] (9.527,3.571) -- (9.481,3.741) -- (9.357,3.865) -- (9.187,3.911) -- (9.017,3.865) -- (8.892,3.741) -- (8.847,3.571) -- (8.892,3.401) -- (9.017,3.276) -- (9.187,3.231) -- (9.357,3.276) -- (9.481,3.401) -- cycle;
\node at (9.187,3.571) {\scalebox{1.417}{\small 6}};
\filldraw[fill=white, draw=black, line width=0.5pt] (11.206,3.799) -- (11.16,3.969) -- (11.036,4.094) -- (10.866,4.139) -- (10.696,4.094) -- (10.571,3.969) -- (10.526,3.799) -- (10.571,3.629) -- (10.696,3.505) -- (10.866,3.459) -- (11.036,3.505) -- (11.16,3.629) -- cycle;
\node at (10.866,3.799) {\scalebox{1.417}{\small 7}};
\filldraw[fill=white, draw=black, line width=0.5pt] (6.611,4.395) -- (6.565,4.565) -- (6.441,4.689) -- (6.271,4.735) -- (6.101,4.689) -- (5.976,4.565) -- (5.931,4.395) -- (5.976,4.225) -- (6.101,4.1) -- (6.271,4.055) -- (6.441,4.1) -- (6.565,4.225) -- cycle;
\node at (6.271,4.395) {\scalebox{1.417}{\small 8}};
\filldraw[fill=white, draw=black, line width=0.5pt] (8.341,3.703) -- (8.295,3.873) -- (8.171,3.998) -- (8.001,4.043) -- (7.831,3.998) -- (7.706,3.873) -- (7.661,3.703) -- (7.706,3.533) -- (7.831,3.409) -- (8.001,3.363) -- (8.171,3.409) -- (8.295,3.533) -- cycle;
\node at (8.001,3.703) {\scalebox{1.417}{\small 9}};
\filldraw[fill=white, draw=black, line width=0.5pt] (9.773,2.769) -- (9.728,2.939) -- (9.603,3.063) -- (9.433,3.109) -- (9.263,3.063) -- (9.139,2.939) -- (9.093,2.769) -- (9.139,2.599) -- (9.263,2.474) -- (9.433,2.429) -- (9.603,2.474) -- (9.728,2.599) -- cycle;
\node at (9.433,2.769) {\scalebox{1.417}{\small 10}};
\filldraw[fill=white, draw=black, line width=0.5pt] (6.678,1.8) -- (6.632,1.97) -- (6.508,2.095) -- (6.338,2.14) -- (6.168,2.095) -- (6.043,1.97) -- (5.998,1.8) -- (6.043,1.63) -- (6.168,1.506) -- (6.338,1.46) -- (6.508,1.506) -- (6.632,1.63) -- cycle;
\node at (6.338,1.8) {\scalebox{1.417}{\small 11}};
\filldraw[fill=yellow!35, draw=black, line width=0.5pt] (7.76,4.742) -- (8.36,4.742) -- (8.36,5.342) -- (7.76,5.342) -- cycle;
\node at (8.06,5.042) {\scalebox{1.417}{\small a}};
\filldraw[fill=black!14, draw=black, line width=0.5pt] (9.959,4.378) -- (10.559,4.378) -- (10.559,4.978) -- (9.959,4.978) -- cycle;
\node at (10.259,4.678) {\scalebox{1.417}{\small b}};
\filldraw[fill=black!14, draw=black, line width=0.5pt] (0.74,7.478) -- (1.34,7.478) -- (1.34,8.078) -- (0.74,8.078) -- cycle;
\node at (1.04,7.778) {\scalebox{1.417}{\small c}};
\filldraw[fill=green!18, draw=black, line width=0.5pt] (6.462,2.871) -- (7.062,2.871) -- (7.062,3.471) -- (6.462,3.471) -- cycle;
\node at (6.762,3.171) {\scalebox{1.417}{\small d}};
\filldraw[fill=black!14, draw=black, line width=0.5pt] (10.068,2.682) -- (10.668,2.682) -- (10.668,3.282) -- (10.068,3.282) -- cycle;
\node at (10.368,2.982) {\scalebox{1.417}{\small e}};
\node at (3.815,9.046) {\scalebox{1.417}{\small A}};
\node at (0.765,8.799) {\scalebox{1.417}{\small B}};
\node at (1.255,5.954) {\scalebox{1.417}{\small C}};
\node at (10.748,5.403) {\scalebox{1.417}{\small D}};
\node at (8.678,5.089) {\scalebox{1.417}{\small E}};
\node at (3.776,4.611) {\scalebox{1.417}{\small F}};
\node at (7.866,1.929) {\scalebox{1.417}{\small G}};
\node at (11.811,1.858) {\scalebox{1.417}{\small H}};
\node at (4.836,0.95) {\scalebox{1.417}{\small I}};
\draw[line width=0.5pt] (12.56,7.545) -- (12.56,8.645);
\draw[line width=0.5pt] (12.329,8.26) -- (12.56,8.645) -- (12.791,8.26);
\draw[line width=0.5pt] (12.257,8.095) -- (12.862,8.095);
\node at (12.56,9.03) {\scalebox{1.417}{\small N}};
\end{tikzpicture}
\end{center}
\noindent \textbf{Le facteur part de la poste et doit emprunter chaque rue exactement une fois. Il n'est pas obligé d'y revenir : il termine sa tournée où il veut.}\par\addvspace{0.35em}
\begin{center}
\renewcommand{\arraystretch}{1.35}
\begin{tabular}{|c|c|c|c|}
\hline
\cellcolor{blue!7}\bfseries Les rues & \cellcolor{blue!7}\bfseries  & \cellcolor{blue!7}\bfseries Les carrefours & \cellcolor{blue!7}\bfseries Les bâtiments \\ \hline
① rue des Écoles & ⑦ rue Verte & Ⓐ Place aux Herbes & \textbf{a} la poste \\ \hline
② chemin Creux & ⑧ rue du Four & Ⓑ Place du Vieux-Puits & \textbf{b} le gymnase \\ \hline
③ impasse Sainte-Anne & ⑨ rue des Jardins & Ⓒ Placette des Ormes & \textbf{c} l'église \\ \hline
④ avenue de la Gare & ⑩ rue du Puits & Ⓓ Carrefour Saint-Roch & \textbf{d} la gendarmerie \\ \hline
⑤ passage du Marché & ⑪ impasse du Puits & Ⓔ Carrefour du Lavoir & \textbf{e} le cimetière \\ \hline
⑥ chemin de Ronde &  & Ⓕ Carrefour des Tilleuls &  \\ \hline
 &  & Ⓖ Rond-point des Vaches &  \\ \hline
 &  & Ⓗ Coin du Lavoir &  \\ \hline
 &  & Ⓘ Place de la Fontaine &  \\ \hline
\end{tabular}
\end{center}
\noindent{\small\itshape Légende du plan}\par\addvspace{0.4em}
\noindent Les questions se suivent : la première n'est qu'un comptage, la dernière demande une preuve.\par\addvspace{0.45em}
\begin{enumerate}
  \item Pour \textbf{chaque carrefour}, compter le nombre de rues qui y aboutissent. Présenter les résultats dans un tableau.
  \item Le facteur imagine sa tournée. À chaque fois qu'il \textbf{traverse} un carrefour, combien de rues utilise-t-il ? Qu'en déduire pour les carrefours où aboutit un nombre \textbf{impair} de rues ?
  \item \textbf{Le facteur peut-il faire sa tournée en partant de la poste ?} Si oui, décrire un trajet possible ; sinon, démontrer que c'est impossible.
  \item Si ce n'est pas possible : une tournée existe-t-elle \textbf{malgré tout} dans ce quartier, en partant d'ailleurs ? Si oui, où faudrait-il installer la poste — et le facteur y reviendrait-il ?
\end{enumerate}
\newpage
\section*{\textcolor{red}{Correction}}
\needspace{5\baselineskip}
\subsection*{\textcolor{red}{La tournée du facteur — Correction}}
\needspace{3\baselineskip}
\begin{center}
\begin{tikzpicture}[scale=0.6314, line join=round, line cap=round]
\draw[line width=0.5pt] (4.098,8.495) -- (4.328,8.406) -- (4.561,8.323) -- (4.795,8.246) -- (5.031,8.174) -- (5.268,8.107) -- (5.508,8.046) -- (5.748,7.991) -- (5.99,7.941) -- (6.233,7.898) -- (6.477,7.859) -- (6.721,7.827) -- (6.967,7.8) -- (7.212,7.779) -- (7.459,7.764) -- (7.675,7.622) -- (7.887,7.474) -- (8.096,7.321) -- (8.302,7.163) -- (8.503,7.0) -- (8.701,6.832) -- (8.895,6.66) -- (9.085,6.484) -- (9.271,6.303) -- (9.452,6.118) -- (9.629,5.928) -- (9.801,5.735) -- (9.969,5.537) -- (10.131,5.336);
\draw[line width=0.5pt] (4.098,8.495) -- (4.161,8.228) -- (4.217,7.96) -- (4.266,7.691) -- (4.31,7.42) -- (4.347,7.149) -- (4.377,6.876) -- (4.402,6.603) -- (4.419,6.33) -- (4.431,6.056) -- (4.436,5.782) -- (4.434,5.508) -- (4.426,5.234) -- (4.412,4.96) -- (4.391,4.687);
\draw[line width=0.5pt] (1.26,8.426) -- (1.274,8.234) -- (1.292,8.043) -- (1.315,7.852) -- (1.343,7.662) -- (1.375,7.473) -- (1.411,7.284) -- (1.452,7.096) -- (1.497,6.909) -- (1.547,6.723) -- (1.601,6.539) -- (1.659,6.356) -- (1.722,6.174) -- (1.789,5.994) -- (1.86,5.816);
\draw[line width=0.5pt] (1.86,5.816) -- (2.052,5.763) -- (2.242,5.707) -- (2.431,5.645) -- (2.619,5.58) -- (2.805,5.509) -- (2.989,5.435) -- (3.172,5.356) -- (3.353,5.273) -- (3.531,5.185) -- (3.708,5.094) -- (3.882,4.998) -- (4.054,4.899) -- (4.224,4.795) -- (4.391,4.687);
\draw[line width=0.5pt] (10.131,5.336) -- (9.981,5.338) -- (9.831,5.336) -- (9.681,5.331) -- (9.531,5.322) -- (9.382,5.31) -- (9.232,5.294) -- (9.083,5.274) -- (8.935,5.252) -- (8.787,5.225) -- (8.64,5.196) -- (8.494,5.162) -- (8.348,5.126) -- (8.203,5.086) -- (8.06,5.042);
\draw[line width=0.5pt] (10.131,5.336) -- (9.979,5.103) -- (9.82,4.873) -- (9.656,4.648) -- (9.487,4.426) -- (9.313,4.208) -- (9.134,3.995) -- (8.949,3.785) -- (8.76,3.58) -- (8.566,3.38) -- (8.367,3.184) -- (8.164,2.993) -- (7.957,2.806) -- (7.745,2.625) -- (7.529,2.449);
\draw[line width=0.5pt] (10.131,5.336) -- (10.176,5.097) -- (10.227,4.86) -- (10.283,4.623) -- (10.345,4.388) -- (10.413,4.155) -- (10.486,3.923) -- (10.564,3.693) -- (10.648,3.464) -- (10.737,3.238) -- (10.831,3.014) -- (10.93,2.792) -- (11.035,2.573) -- (11.145,2.356) -- (11.26,2.142);
\draw[line width=0.5pt] (8.06,5.042) -- (7.804,4.977) -- (7.546,4.918) -- (7.287,4.865) -- (7.027,4.818) -- (6.765,4.777) -- (6.503,4.742) -- (6.24,4.713) -- (5.976,4.691) -- (5.712,4.675) -- (5.448,4.665) -- (5.183,4.661) -- (4.919,4.664) -- (4.655,4.672) -- (4.391,4.687);
\draw[line width=0.5pt] (8.06,5.042) -- (7.994,4.864) -- (7.932,4.685) -- (7.874,4.504) -- (7.821,4.321) -- (7.772,4.138) -- (7.728,3.953) -- (7.687,3.768) -- (7.651,3.581) -- (7.62,3.394) -- (7.593,3.206) -- (7.57,3.017) -- (7.552,2.828) -- (7.538,2.639) -- (7.529,2.449);
\draw[line width=0.5pt] (7.529,2.449) -- (7.797,2.468) -- (8.065,2.481) -- (8.333,2.487) -- (8.602,2.487) -- (8.87,2.481) -- (9.139,2.468) -- (9.407,2.45) -- (9.675,2.424) -- (9.941,2.393) -- (10.207,2.355) -- (10.472,2.311) -- (10.736,2.261) -- (10.999,2.205) -- (11.26,2.142);
\draw[line width=0.5pt] (7.529,2.449) -- (7.34,2.413) -- (7.152,2.372) -- (6.965,2.327) -- (6.78,2.277) -- (6.595,2.223) -- (6.412,2.164) -- (6.23,2.102) -- (6.049,2.035) -- (5.871,1.964) -- (5.694,1.888) -- (5.519,1.809) -- (5.345,1.725) -- (5.174,1.638) -- (5.005,1.546);
\filldraw[fill=red!16, draw=black, line width=0.5pt] (4.258,8.495) -- (4.237,8.575) -- (4.178,8.634) -- (4.098,8.655) -- (4.018,8.634) -- (3.96,8.575) -- (3.938,8.495) -- (3.96,8.415) -- (4.018,8.356) -- (4.098,8.335) -- (4.178,8.356) -- (4.237,8.415) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (1.42,8.426) -- (1.398,8.506) -- (1.34,8.564) -- (1.26,8.586) -- (1.18,8.564) -- (1.121,8.506) -- (1.1,8.426) -- (1.121,8.346) -- (1.18,8.287) -- (1.26,8.266) -- (1.34,8.287) -- (1.398,8.346) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (2.02,5.816) -- (1.998,5.896) -- (1.94,5.954) -- (1.86,5.976) -- (1.78,5.954) -- (1.721,5.896) -- (1.7,5.816) -- (1.721,5.736) -- (1.78,5.677) -- (1.86,5.656) -- (1.94,5.677) -- (1.998,5.736) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (10.291,5.336) -- (10.27,5.416) -- (10.211,5.474) -- (10.131,5.496) -- (10.051,5.474) -- (9.993,5.416) -- (9.971,5.336) -- (9.993,5.256) -- (10.051,5.197) -- (10.131,5.176) -- (10.211,5.197) -- (10.27,5.256) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (8.22,5.042) -- (8.198,5.122) -- (8.14,5.181) -- (8.06,5.202) -- (7.98,5.181) -- (7.921,5.122) -- (7.9,5.042) -- (7.921,4.962) -- (7.98,4.904) -- (8.06,4.882) -- (8.14,4.904) -- (8.198,4.962) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (4.551,4.687) -- (4.529,4.767) -- (4.471,4.826) -- (4.391,4.847) -- (4.311,4.826) -- (4.252,4.767) -- (4.231,4.687) -- (4.252,4.607) -- (4.311,4.549) -- (4.391,4.527) -- (4.471,4.549) -- (4.529,4.607) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (7.689,2.449) -- (7.667,2.529) -- (7.609,2.588) -- (7.529,2.609) -- (7.449,2.588) -- (7.39,2.529) -- (7.369,2.449) -- (7.39,2.369) -- (7.449,2.311) -- (7.529,2.289) -- (7.609,2.311) -- (7.667,2.369) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (11.42,2.142) -- (11.398,2.222) -- (11.34,2.281) -- (11.26,2.302) -- (11.18,2.281) -- (11.121,2.222) -- (11.1,2.142) -- (11.121,2.062) -- (11.18,2.004) -- (11.26,1.982) -- (11.34,2.004) -- (11.398,2.062) -- cycle;
\filldraw[fill=red!16, draw=black, line width=0.5pt] (5.165,1.546) -- (5.144,1.626) -- (5.085,1.685) -- (5.005,1.706) -- (4.925,1.685) -- (4.867,1.626) -- (4.845,1.546) -- (4.867,1.466) -- (4.925,1.408) -- (5.005,1.386) -- (5.085,1.408) -- (5.144,1.466) -- cycle;
\filldraw[fill=white, draw=black, line width=0.5pt] (7.902,8.067) -- (7.856,8.237) -- (7.732,8.362) -- (7.562,8.407) -- (7.392,8.362) -- (7.268,8.237) -- (7.222,8.067) -- (7.268,7.897) -- (7.392,7.773) -- (7.562,7.727) -- (7.732,7.773) -- (7.856,7.897) -- cycle;
\node at (7.562,8.067) {\scalebox{1.584}{\small 1}};
\filldraw[fill=white, draw=black, line width=0.5pt] (5.061,6.628) -- (5.015,6.798) -- (4.891,6.922) -- (4.721,6.968) -- (4.551,6.922) -- (4.426,6.798) -- (4.381,6.628) -- (4.426,6.458) -- (4.551,6.333) -- (4.721,6.288) -- (4.891,6.333) -- (5.015,6.458) -- cycle;
\node at (4.721,6.628) {\scalebox{1.584}{\small 2}};
\filldraw[fill=white, draw=black, line width=0.5pt] (2.104,7.168) -- (2.058,7.338) -- (1.934,7.462) -- (1.764,7.508) -- (1.594,7.462) -- (1.47,7.338) -- (1.424,7.168) -- (1.47,6.998) -- (1.594,6.873) -- (1.764,6.828) -- (1.934,6.873) -- (2.058,6.998) -- cycle;
\node at (1.764,7.168) {\scalebox{1.584}{\small 3}};
\filldraw[fill=white, draw=black, line width=0.5pt] (3.642,5.648) -- (3.597,5.818) -- (3.472,5.943) -- (3.302,5.988) -- (3.132,5.943) -- (3.008,5.818) -- (2.962,5.648) -- (3.008,5.478) -- (3.132,5.354) -- (3.302,5.308) -- (3.472,5.354) -- (3.597,5.478) -- cycle;
\node at (3.302,5.648) {\scalebox{1.584}{\small 4}};
\filldraw[fill=white, draw=black, line width=0.5pt] (9.468,4.958) -- (9.423,5.128) -- (9.298,5.252) -- (9.128,5.298) -- (8.958,5.252) -- (8.834,5.128) -- (8.788,4.958) -- (8.834,4.788) -- (8.958,4.663) -- (9.128,4.618) -- (9.298,4.663) -- (9.423,4.788) -- cycle;
\node at (9.128,4.958) {\scalebox{1.584}{\small 5}};
\filldraw[fill=white, draw=black, line width=0.5pt] (9.527,3.571) -- (9.481,3.741) -- (9.357,3.865) -- (9.187,3.911) -- (9.017,3.865) -- (8.892,3.741) -- (8.847,3.571) -- (8.892,3.401) -- (9.017,3.276) -- (9.187,3.231) -- (9.357,3.276) -- (9.481,3.401) -- cycle;
\node at (9.187,3.571) {\scalebox{1.584}{\small 6}};
\filldraw[fill=white, draw=black, line width=0.5pt] (11.206,3.799) -- (11.16,3.969) -- (11.036,4.094) -- (10.866,4.139) -- (10.696,4.094) -- (10.571,3.969) -- (10.526,3.799) -- (10.571,3.629) -- (10.696,3.505) -- (10.866,3.459) -- (11.036,3.505) -- (11.16,3.629) -- cycle;
\node at (10.866,3.799) {\scalebox{1.584}{\small 7}};
\filldraw[fill=white, draw=black, line width=0.5pt] (6.611,4.395) -- (6.565,4.565) -- (6.441,4.689) -- (6.271,4.735) -- (6.101,4.689) -- (5.976,4.565) -- (5.931,4.395) -- (5.976,4.225) -- (6.101,4.1) -- (6.271,4.055) -- (6.441,4.1) -- (6.565,4.225) -- cycle;
\node at (6.271,4.395) {\scalebox{1.584}{\small 8}};
\filldraw[fill=white, draw=black, line width=0.5pt] (8.341,3.703) -- (8.295,3.873) -- (8.171,3.998) -- (8.001,4.043) -- (7.831,3.998) -- (7.706,3.873) -- (7.661,3.703) -- (7.706,3.533) -- (7.831,3.409) -- (8.001,3.363) -- (8.171,3.409) -- (8.295,3.533) -- cycle;
\node at (8.001,3.703) {\scalebox{1.584}{\small 9}};
\filldraw[fill=white, draw=black, line width=0.5pt] (9.773,2.769) -- (9.728,2.939) -- (9.603,3.063) -- (9.433,3.109) -- (9.263,3.063) -- (9.139,2.939) -- (9.093,2.769) -- (9.139,2.599) -- (9.263,2.474) -- (9.433,2.429) -- (9.603,2.474) -- (9.728,2.599) -- cycle;
\node at (9.433,2.769) {\scalebox{1.584}{\small 10}};
\filldraw[fill=white, draw=black, line width=0.5pt] (6.678,1.8) -- (6.632,1.97) -- (6.508,2.095) -- (6.338,2.14) -- (6.168,2.095) -- (6.043,1.97) -- (5.998,1.8) -- (6.043,1.63) -- (6.168,1.506) -- (6.338,1.46) -- (6.508,1.506) -- (6.632,1.63) -- cycle;
\node at (6.338,1.8) {\scalebox{1.584}{\small 11}};
\filldraw[fill=yellow!35, draw=black, line width=0.5pt] (7.76,4.742) -- (8.36,4.742) -- (8.36,5.342) -- (7.76,5.342) -- cycle;
\node at (8.06,5.042) {\scalebox{1.584}{\small a}};
\filldraw[fill=black!14, draw=black, line width=0.5pt] (9.959,4.378) -- (10.559,4.378) -- (10.559,4.978) -- (9.959,4.978) -- cycle;
\node at (10.259,4.678) {\scalebox{1.584}{\small b}};
\filldraw[fill=black!14, draw=black, line width=0.5pt] (0.74,7.478) -- (1.34,7.478) -- (1.34,8.078) -- (0.74,8.078) -- cycle;
\node at (1.04,7.778) {\scalebox{1.584}{\small c}};
\filldraw[fill=green!18, draw=black, line width=0.5pt] (6.462,2.871) -- (7.062,2.871) -- (7.062,3.471) -- (6.462,3.471) -- cycle;
\node at (6.762,3.171) {\scalebox{1.584}{\small d}};
\filldraw[fill=black!14, draw=black, line width=0.5pt] (10.068,2.682) -- (10.668,2.682) -- (10.668,3.282) -- (10.068,3.282) -- cycle;
\node at (10.368,2.982) {\scalebox{1.584}{\small e}};
\node at (3.815,9.046) {\scalebox{1.584}{\small A}};
\node at (0.765,8.799) {\scalebox{1.584}{\small B}};
\node at (1.255,5.954) {\scalebox{1.584}{\small C}};
\node at (10.748,5.403) {\scalebox{1.584}{\small D}};
\node at (8.678,5.089) {\scalebox{1.584}{\small E}};
\node at (3.776,4.611) {\scalebox{1.584}{\small F}};
\node at (7.866,1.929) {\scalebox{1.584}{\small G}};
\node at (11.811,1.858) {\scalebox{1.584}{\small H}};
\node at (4.836,0.95) {\scalebox{1.584}{\small I}};
\draw[line width=0.5pt] (12.56,7.545) -- (12.56,8.645);
\draw[line width=0.5pt] (12.329,8.26) -- (12.56,8.645) -- (12.791,8.26);
\draw[line width=0.5pt] (12.257,8.095) -- (12.862,8.095);
\node at (12.56,9.03) {\scalebox{1.584}{\small N}};
\end{tikzpicture}
\end{center}
\noindent \textbf{1.} On compte les rues aboutissant à chaque carrefour :\par\addvspace{0.35em}
\begin{center}
\renewcommand{\arraystretch}{1.35}
\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|}
\hline
\cellcolor{blue!7}\bfseries Carrefour & \cellcolor{blue!7}\bfseries A & \cellcolor{blue!7}\bfseries B & \cellcolor{blue!7}\bfseries C & \cellcolor{blue!7}\bfseries D & \cellcolor{blue!7}\bfseries E & \cellcolor{blue!7}\bfseries F & \cellcolor{blue!7}\bfseries G & \cellcolor{blue!7}\bfseries H & \cellcolor{blue!7}\bfseries I \\ \hline
Nombre de rues & 2 & 1 & 2 & 4 & 3 & 3 & 4 & 2 & 1 \\ \hline
Parité & pair & \textbf{impair} & pair & pair & \textbf{impair} & \textbf{impair} & pair & pair & \textbf{impair} \\ \hline
\end{tabular}
\end{center}
\noindent\hspace{1.2em}Vérification : la somme de ces nombres vaut 22 = 2 \(\times\) 11, car chaque rue est comptée à ses \textbf{deux} extrémités.\par\addvspace{0.3em}
\noindent{\color{red!80!black}\bfseries Les carrefours à nombre \textbf{impair} de rues sont : \textbf{B}, \textbf{E}, \textbf{F}, \textbf{I} — il y en a 4.}\par\addvspace{0.4em}
\noindent \textbf{2.}\par\addvspace{0.35em}
\noindent{\color{green!45!black}\textbf{Le raisonnement clé.} Quand le facteur \textbf{traverse} un carrefour, il y arrive par une rue et en repart par une autre : il consomme les rues \textbf{deux par deux}. Un carrefour traversé 3 fois voit donc 6 de ses rues utilisées — toujours un nombre \textbf{pair}.}\par\addvspace{0.4em}
\noindent{\color{red!80!black}\bfseries Un carrefour où aboutit un nombre \textbf{impair} de rues ne peut donc pas être seulement traversé : il doit être le \textbf{départ} ou l'\textbf{arrivée} de la tournée. Là, une rue reste « non appariée ».}\par\addvspace{0.4em}
\noindent{\color{green!45!black}Ici la poste est \textbf{sur un carrefour}, en \textbf{E}, et le facteur n'a pas à y revenir. Ce carrefour est donc le \textbf{départ} — il a droit d'être impair. Mais il n'y a qu'\textbf{une seule arrivée} : tous les autres carrefours doivent être pairs, sauf un au plus.}\par\addvspace{0.4em}
\noindent \textbf{3.}\par\addvspace{0.35em}
\noindent{\color{red!80!black}\bfseries \textbf{Non.} Le quartier compte \textbf{4 carrefours impairs} (B, E, F, I).}\par\addvspace{0.4em}
\noindent{\color{green!45!black}Chacun d'eux exigerait d'être un départ ou une arrivée. Une tournée n'a qu'un départ et qu'une arrivée : au moins 2 d'entre eux resteraient sans solution.}\par\addvspace{0.4em}
\noindent \textbf{4.}\par\addvspace{0.35em}
\noindent{\color{red!80!black}\bfseries \textbf{Non plus.} Où que l'on installe la poste, il reste 4 carrefours impairs, et une tournée n'en tolère que deux : un pour partir, un pour arriver.}\par\addvspace{0.4em}
\noindent{\color{green!45!black}C'est la différence avec un quartier à deux carrefours impairs, où déplacer la poste suffisait. Ici, le problème ne vient pas du point de départ mais du plan lui-même.}\par\addvspace{0.4em}
\noindent{\color{green!45!black}\textbf{Combien de rues en double, au minimum ?} Il faut apparier les carrefours impairs deux à deux, ce qui demande 1 passage(s) supplémentaire(s) au mieux pour une tournée ouverte, un de plus pour revenir à la poste. C'est le « problème du postier chinois », étudié bien après Euler.}\par\addvspace{0.4em}
\noindent{\color{green!45!black}\textbf{À remarquer.} Ce quartier a une impasse. On y entre et on en ressort par la même rue : elle serait forcément empruntée deux fois. Une impasse interdit donc à elle seule la tournée qui revient à son point de départ — sans qu'il soit besoin de compter quoi que ce soit.}\par\addvspace{0.4em}
\end{document}
