\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/sub-runningex-sup-runningex/sim-55070.tex}
\rhead{09:11:49.171 on 2025-04-03}
\fancyfoot{}
\begin{document}
\newif\ifntiny
%\ntinyfalse
\ntinytrue
\thispagestyle{fancy}
\begin{center}
\maxsizebox{!}{0.475\textheight}{
\minsizebox{\textwidth}{!}{
\begin{tabular}{@{}c@{}}
% node count = 47
\begin{tikzpicture}[rotate = 0]
%\begin{tikzpicture}[rotate = 90]
\tikzset{initial text=$ $}

\node[accepting, state] at (45,-6) (n2n0n1) {$p!$\,\ifntiny{\tiny 58297}\fi};
\node[accepting, state] at (37,-12) (n1n0n1n1n0n1) {$p!$\,\ifntiny{\tiny 58274}\fi};
\node[accepting, state] at (37,-10) (n1n0n1n1n0) {$p?$\,\ifntiny{\tiny 58278}\fi};
\node[accepting, state] at (48,-4) (n2n1) {$p?$\,\ifntiny{\tiny 58303}\fi};
\node[initial, state] at (24,0) (n) {$\cup$\,\ifntiny{\tiny 58355}\fi};
\node[state] at (5,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 58353}\fi};
\node[accepting, state] at (21,-14) (n0n1n0n0n1n1n1) {$p?$\,\ifntiny{\tiny 58240}\fi};
\node[accepting, state] at (38,-14) (n1n0n1n1n0n1n1) {$p?$\,\ifntiny{\tiny 58273}\fi};
\node[accepting, state] at (16,-16) (n0n1n0n0n1n0n1n1) {$p!$\,\ifntiny{\tiny 58281}\fi};
\node[accepting, state] at (17,-10) (n0n1n0n0n1) {$p?$\,\ifntiny{\tiny 58287}\fi};
\node[state] at (16,-8) (n0n1n0n0) {$\cup$\,\ifntiny{\tiny 58348}\fi};
\node[accepting, state] at (46,-2) (n2) {$p!$\,\ifntiny{\tiny 58304}\fi};
\node[accepting, state] at (46,-8) (n2n0n1n1) {$p?$\,\ifntiny{\tiny 58296}\fi};
\node[accepting, state] at (32,-10) (n0n1n1n1n1) {$p?$\,\ifntiny{\tiny 57581}\fi};
\node[accepting, state] at (5,-10) (n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 58285}\fi};
\node[accepting, state] at (38,-2) (n1) {$p?$\,\ifntiny{\tiny 58287}\fi};
\node[accepting, state] at (20,-12) (n0n1n0n0n1n1) {$p!$\,\ifntiny{\tiny 58241}\fi};
\node[accepting, state] at (27,-10) (n0n1n1n0n1) {$p?$\,\ifntiny{\tiny 57652}\fi};
\node[accepting, state] at (45,-4) (n2n0) {$p?$\,\ifntiny{\tiny 58305}\fi};
\node[accepting, state] at (4,-8) (n0n0n1n0) {$p!$\,\ifntiny{\tiny 58286}\fi};
\node[accepting, state] at (9,-8) (n0n0n1n1) {$p!$\,\ifntiny{\tiny 58241}\fi};
\node[accepting, state] at (37,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 58285}\fi};
\node[accepting, state] at (36,-4) (n1n0) {$p!$\,\ifntiny{\tiny 58286}\fi};
\node[accepting, state] at (5,-12) (n0n0n1n0n1n1) {$p!$\,\ifntiny{\tiny 58281}\fi};
\node[accepting, state] at (6,-18) (n0n0n1n0n1n1n0n1n1) {$p?$\,\ifntiny{\tiny 58273}\fi};
\node[accepting, state] at (16,-20) (n0n1n0n0n1n0n1n1n0n1) {$p!$\,\ifntiny{\tiny 58274}\fi};
\node[accepting, state] at (26,-16) (n0n1n1n0n1n0n0n1) {$p!$\,\ifntiny{\tiny 57640}\fi};
\node[state] at (17,-6) (n0n1n0) {$p?$\,\ifntiny{\tiny 58349}\fi};
\node[accepting, state] at (28,-6) (n0n1n1) {$p?$\,\ifntiny{\tiny 57654}\fi};
\node[accepting, state] at (26,-12) (n0n1n1n0n1n0) {$p!$\,\ifntiny{\tiny 57651}\fi};
\node[accepting, state] at (27,-18) (n0n1n1n0n1n0n0n1n1) {$p?$\,\ifntiny{\tiny 57639}\fi};
\node[accepting, state] at (5,-16) (n0n0n1n0n1n1n0n1) {$p!$\,\ifntiny{\tiny 58274}\fi};
\node[state] at (22,-4) (n0n1) {$\cup$\,\ifntiny{\tiny 58350}\fi};
\node[accepting, state] at (37,-8) (n1n0n1n1) {$p!$\,\ifntiny{\tiny 58281}\fi};
\node[accepting, state] at (26,-8) (n0n1n1n0) {$p!$\,\ifntiny{\tiny 57653}\fi};
\node[accepting, state] at (16,-18) (n0n1n0n0n1n0n1n1n0) {$p?$\,\ifntiny{\tiny 58278}\fi};
\node[accepting, state] at (31,-8) (n0n1n1n1) {$p!$\,\ifntiny{\tiny 57582}\fi};
\node[accepting, state] at (10,-10) (n0n0n1n1n1) {$p?$\,\ifntiny{\tiny 58240}\fi};
\node[accepting, state] at (6,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 58287}\fi};
\node[accepting, state] at (42,-6) (n1n1n1) {$p?$\,\ifntiny{\tiny 58240}\fi};
\node[accepting, state] at (41,-4) (n1n1) {$p!$\,\ifntiny{\tiny 58241}\fi};
\node[accepting, state] at (15,-12) (n0n1n0n0n1n0) {$p!$\,\ifntiny{\tiny 58286}\fi};
\node[state] at (16,-2) (n0) {$p?$\,\ifntiny{\tiny 58354}\fi};
\node[accepting, state] at (16,-14) (n0n1n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 58285}\fi};
\node[accepting, state] at (5,-14) (n0n0n1n0n1n1n0) {$p?$\,\ifntiny{\tiny 58278}\fi};
\node[accepting, state] at (17,-22) (n0n1n0n0n1n0n1n1n0n1n1) {$p?$\,\ifntiny{\tiny 58273}\fi};
\node[accepting, state] at (26,-14) (n0n1n1n0n1n0n0) {$p?$\,\ifntiny{\tiny 57646}\fi};

\draw[->, thick] (n) edge [near start, left] node {} (n0);
\draw[->, thick] (n) edge [near start, left] node {} (n1);
\draw[->, thick] (n) edge [near start, left] node {} (n2);
\draw[->, thick] (n0) edge [near start, left] node {KO} (n0n0);
\draw[->, thick] (n0) edge [near start, left] node {OK} (n0n1);
\draw[->, thick] (n0n0) edge [near start, right, bend right] node {} (n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n1);
\draw[->, thick] (n0n0n1) edge [near start, left] node {KO} (n0n0n1n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {OK} (n0n0n1n1);
\draw[->, thick] (n0n0n1n0) edge [near start, right, bend right] node {HQ} (n0n0n1);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {LQ} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1) edge [near start, left, bend left] node {KO} (n0n0n1n0);
\draw[->, thick] (n0n0n1n0n1) edge [near start, left] node {OK} (n0n0n1n0n1n1);
\draw[->, thick] (n0n0n1n0n1n1) edge [near start, left] node {HQ} (n0n0n1n0n1n1n0);
\draw[->, thick] (n0n0n1n0n1n1) edge [near start, right, bend right] node {LQ} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n1n0) edge [near start, right, bend right] node {KO} (n0n0n1n0n1n1);
\draw[->, thick] (n0n0n1n0n1n1n0) edge [near start, left] node {OK} (n0n0n1n0n1n1n0n1);
\draw[->, thick] (n0n0n1n0n1n1n0n1) edge [near start, right, bend right] node {HQ} (n0n0n1n0n1n1n0);
\draw[->, thick] (n0n0n1n0n1n1n0n1) edge [near start, left] node {LQ} (n0n0n1n0n1n1n0n1n1);
\draw[->, thick] (n0n0n1n0n1n1n0n1n1) edge [near start, left, bend left] node {KO} (n0n0n1n0n1n1n0n1);
\draw[->, thick] (n0n0n1n0n1n1n0n1n1) edge [near start, left, bend left] node {OK} (n0n0n1n0n1n1n0n1);
\draw[->, thick] (n0n0n1n1) edge [near start, left, bend left] node {HQ} (n0n0n1);
\draw[->, thick] (n0n0n1n1) edge [near start, left] node {LQ} (n0n0n1n1n1);
\draw[->, thick] (n0n0n1n1n1) edge [near start, left, bend left] node {KO} (n0n0n1n1);
\draw[->, thick] (n0n0n1n1n1) edge [near start, left, bend left] node {OK} (n0n0n1n1);
\draw[->, thick] (n0n1) edge [near start, left] node {} (n0n1n0);
\draw[->, thick] (n0n1) edge [near start, left] node {} (n0n1n1);
\draw[->, thick] (n0n1n0) edge [near start, left] node {KO} (n0n1n0n0);
\draw[->, thick] (n0n1n0) edge [near start, right, bend right] node {OK} (n0n1);
\draw[->, thick] (n0n1n0n0) edge [near start, right, bend right] node {} (n0);
\draw[->, thick] (n0n1n0n0) edge [near start, left] node {} (n0n1n0n0n1);
\draw[->, thick] (n0n1n0n0n1) edge [near start, left] node {KO} (n0n1n0n0n1n0);
\draw[->, thick] (n0n1n0n0n1) edge [near start, left] node {OK} (n0n1n0n0n1n1);
\draw[->, thick] (n0n1n0n0n1n0) edge [near start, right, bend right] node {HQ} (n0n1n0n0n1);
\draw[->, thick] (n0n1n0n0n1n0) edge [near start, left] node {LQ} (n0n1n0n0n1n0n1);
\draw[->, thick] (n0n1n0n0n1n0n1) edge [near start, left, bend left] node {KO} (n0n1n0n0n1n0);
\draw[->, thick] (n0n1n0n0n1n0n1) edge [near start, left] node {OK} (n0n1n0n0n1n0n1n1);
\draw[->, thick] (n0n1n0n0n1n0n1n1) edge [near start, left] node {HQ} (n0n1n0n0n1n0n1n1n0);
\draw[->, thick] (n0n1n0n0n1n0n1n1) edge [near start, right, bend right] node {LQ} (n0n1n0n0n1n0n1);
\draw[->, thick] (n0n1n0n0n1n0n1n1n0) edge [near start, right, bend right] node {KO} (n0n1n0n0n1n0n1n1);
\draw[->, thick] (n0n1n0n0n1n0n1n1n0) edge [near start, left] node {OK} (n0n1n0n0n1n0n1n1n0n1);
\draw[->, thick] (n0n1n0n0n1n0n1n1n0n1) edge [near start, right, bend right] node {HQ} (n0n1n0n0n1n0n1n1n0);
\draw[->, thick] (n0n1n0n0n1n0n1n1n0n1) edge [near start, left] node {LQ} (n0n1n0n0n1n0n1n1n0n1n1);
\draw[->, thick] (n0n1n0n0n1n0n1n1n0n1n1) edge [near start, left, bend left] node {KO} (n0n1n0n0n1n0n1n1n0n1);
\draw[->, thick] (n0n1n0n0n1n0n1n1n0n1n1) edge [near start, left, bend left] node {OK} (n0n1n0n0n1n0n1n1n0n1);
\draw[->, thick] (n0n1n0n0n1n1) edge [near start, left, bend left] node {HQ} (n0n1n0n0n1);
\draw[->, thick] (n0n1n0n0n1n1) edge [near start, left] node {LQ} (n0n1n0n0n1n1n1);
\draw[->, thick] (n0n1n0n0n1n1n1) edge [near start, left, bend left] node {KO} (n0n1n0n0n1n1);
\draw[->, thick] (n0n1n0n0n1n1n1) edge [near start, left, bend left] node {OK} (n0n1n0n0n1n1);
\draw[->, thick] (n0n1n1) edge [near start, left] node {KO} (n0n1n1n0);
\draw[->, thick] (n0n1n1) edge [near start, left] node {OK} (n0n1n1n1);
\draw[->, thick] (n0n1n1n0) edge [near start, right, bend right] node {HQ} (n0n1n1);
\draw[->, thick] (n0n1n1n0) edge [near start, left] node {LQ} (n0n1n1n0n1);
\draw[->, thick] (n0n1n1n0n1) edge [near start, left] node {KO} (n0n1n1n0n1n0);
\draw[->, thick] (n0n1n1n0n1) edge [near start, left, bend left] node {OK} (n0n1n1n0);
\draw[->, thick] (n0n1n1n0n1n0) edge [near start, left] node {HQ} (n0n1n1n0n1n0n0);
\draw[->, thick] (n0n1n1n0n1n0) edge [near start, right, bend right] node {LQ} (n0n1n1n0n1);
\draw[->, thick] (n0n1n1n0n1n0n0) edge [near start, right, bend right] node {KO} (n0n1n1n0n1n0);
\draw[->, thick] (n0n1n1n0n1n0n0) edge [near start, left] node {OK} (n0n1n1n0n1n0n0n1);
\draw[->, thick] (n0n1n1n0n1n0n0n1) edge [near start, right, bend right] node {HQ} (n0n1n1n0n1n0n0);
\draw[->, thick] (n0n1n1n0n1n0n0n1) edge [near start, left] node {LQ} (n0n1n1n0n1n0n0n1n1);
\draw[->, thick] (n0n1n1n0n1n0n0n1n1) edge [near start, left, bend left] node {KO} (n0n1n1n0n1n0n0n1);
\draw[->, thick] (n0n1n1n0n1n0n0n1n1) edge [near start, left, bend left] node {OK} (n0n1n1n0n1n0n0n1);
\draw[->, thick] (n0n1n1n1) edge [near start, left, bend left] node {HQ} (n0n1n1);
\draw[->, thick] (n0n1n1n1) edge [near start, left] node {LQ} (n0n1n1n1n1);
\draw[->, thick] (n0n1n1n1n1) edge [near start, left, bend left] node {KO} (n0n1n1n1);
\draw[->, thick] (n0n1n1n1n1) edge [near start, left, bend left] node {OK} (n0n1n1n1);
\draw[->, thick] (n1) edge [near start, left] node {KO} (n1n0);
\draw[->, thick] (n1) edge [near start, left] node {OK} (n1n1);
\draw[->, thick] (n1n0) edge [near start, right, bend right] node {HQ} (n1);
\draw[->, thick] (n1n0) edge [near start, left] node {LQ} (n1n0n1);
\draw[->, thick] (n1n0n1) edge [near start, left, bend left] node {KO} (n1n0);
\draw[->, thick] (n1n0n1) edge [near start, left] node {OK} (n1n0n1n1);
\draw[->, thick] (n1n0n1n1) edge [near start, left] node {HQ} (n1n0n1n1n0);
\draw[->, thick] (n1n0n1n1) edge [near start, right, bend right] node {LQ} (n1n0n1);
\draw[->, thick] (n1n0n1n1n0) edge [near start, right, bend right] node {KO} (n1n0n1n1);
\draw[->, thick] (n1n0n1n1n0) edge [near start, left] node {OK} (n1n0n1n1n0n1);
\draw[->, thick] (n1n0n1n1n0n1) edge [near start, right, bend right] node {HQ} (n1n0n1n1n0);
\draw[->, thick] (n1n0n1n1n0n1) edge [near start, left] node {LQ} (n1n0n1n1n0n1n1);
\draw[->, thick] (n1n0n1n1n0n1n1) edge [near start, left, bend left] node {KO} (n1n0n1n1n0n1);
\draw[->, thick] (n1n0n1n1n0n1n1) edge [near start, left, bend left] node {OK} (n1n0n1n1n0n1);
\draw[->, thick] (n1n1) edge [near start, left, bend left] node {HQ} (n1);
\draw[->, thick] (n1n1) edge [near start, left] node {LQ} (n1n1n1);
\draw[->, thick] (n1n1n1) edge [near start, left, bend left] node {KO} (n1n1);
\draw[->, thick] (n1n1n1) edge [near start, left, bend left] node {OK} (n1n1);
\draw[->, thick] (n2) edge [near start, left] node {HQ} (n2n0);
\draw[->, thick] (n2) edge [near start, left] node {LQ} (n2n1);
\draw[->, thick] (n2n0) edge [near start, right, bend right] node {KO} (n2);
\draw[->, thick] (n2n0) edge [near start, left] node {OK} (n2n0n1);
\draw[->, thick] (n2n0n1) edge [near start, right, bend right] node {HQ} (n2n0);
\draw[->, thick] (n2n0n1) edge [near start, left] node {LQ} (n2n0n1n1);
\draw[->, thick] (n2n0n1n1) edge [near start, left, bend left] node {KO} (n2n0n1);
\draw[->, thick] (n2n0n1n1) edge [near start, left, bend left] node {OK} (n2n0n1);
\draw[->, thick] (n2n1) edge [near start, left, bend left] node {KO} (n2);
\draw[->, thick] (n2n1) edge [near start, left, bend left] node {OK} (n2);

\end{tikzpicture}
\end{tabular}}}
\end{center}
\end{document}
