\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/march3testa1-march3testb2/sim-26496-26500.tex}
\rhead{11:55:02.421 on 2025-03-28}
\fancyfoot{}
\begin{document}
\newif\ifntiny
%\ntinyfalse
\ntinytrue
\thispagestyle{fancy}
\begin{center}
\maxsizebox{!}{0.475\textheight}{
\minsizebox{\textwidth}{!}{
\begin{tabular}{@{}c@{}}
% node count = 48
\begin{tikzpicture}[rotate = 0]
%\begin{tikzpicture}[rotate = 90]
\tikzset{initial text=$ $}

\node[accepting, state] at (4,-18) (n0n0n0n1n0n2n0n0n1) {$p?$\,\ifntiny{\tiny 29776}\fi};
\node[accepting, state] at (10,-22) (n0n1n0n0n0n0n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 29782}\fi};
\node[accepting, state] at (3,-20) (n0n0n0n1n0n2n0n0n0n0) {$p?$\,\ifntiny{\tiny 29755}\fi};
\node[accepting, state] at (4,-20) (n0n0n0n1n0n2n0n0n1n0) {$p?$\,\ifntiny{\tiny 29775}\fi};
\node[state] at (9,-16) (n0n1n0n0n0n0n1n0) {$\cup$\,\ifntiny{\tiny 29849}\fi};
\node[state] at (6,-16) (n0n1n0n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 29842}\fi};
\node[initial, state] at (8,0) (n) {$p?$\,\ifntiny{\tiny 29858}\fi};
\node[accepting, state] at (10,-24) (n0n1n0n0n0n0n1n0n2n0n0n1) {$p?$\,\ifntiny{\tiny 29776}\fi};
\node[accepting, state] at (10,-18) (n0n1n0n0n0n0n1n0n2) {$p?$\,\ifntiny{\tiny 29784}\fi};
\node[state] at (1,-12) (n0n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 29832}\fi};
\node[state] at (9,-10) (n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 29852}\fi};
\node[accepting, state] at (9,-28) (n0n1n0n0n0n0n1n0n2n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 29754}\fi};
\node[state] at (2,-12) (n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 29833}\fi};
\node[state] at (6,-14) (n0n1n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 29843}\fi};
\node[state] at (3,-10) (n0n0n0n1n0) {$\cup$\,\ifntiny{\tiny 29834}\fi};
\node[accepting, state] at (3,-22) (n0n0n0n1n0n2n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 29754}\fi};
\node[accepting, state] at (3,-18) (n0n0n0n1n0n2n0n0n0) {$p?$\,\ifntiny{\tiny 29756}\fi};
\node[accepting, state] at (13,-14) (n0n2n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 29806}\fi};
\node[accepting, state] at (9,-26) (n0n1n0n0n0n0n1n0n2n0n0n0n0) {$p?$\,\ifntiny{\tiny 29755}\fi};
\node[state] at (9,-6) (n0n1n0) {$p?$\,\ifntiny{\tiny 29855}\fi};
\node[state] at (9,-12) (n0n1n0n0n0n0) {$\cup$\,\ifntiny{\tiny 29851}\fi};
\node[accepting, state] at (14,-12) (n0n2n0n0n1n0) {$p?$\,\ifntiny{\tiny 29815}\fi};
\node[state] at (8,-18) (n0n1n0n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 29848}\fi};
\node[accepting, state] at (13,-10) (n0n2n0n0n0) {$p?$\,\ifntiny{\tiny 29808}\fi};
\node[state] at (0,-10) (n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 29827}\fi};
\node[state] at (0,-8) (n0n0n0n0) {$p?$\,\ifntiny{\tiny 29828}\fi};
\node[state] at (3,-6) (n0n0n0) {$\cup$\,\ifntiny{\tiny 29836}\fi};
\node[state] at (3,-4) (n0n0) {$p?$\,\ifntiny{\tiny 29837}\fi};
\node[accepting, state] at (14,-8) (n0n2n0n0) {$p!$\,\ifntiny{\tiny 29818}\fi};
\node[state] at (9,-4) (n0n1) {$p?$\,\ifntiny{\tiny 29856}\fi};
\node[accepting, state] at (9,-24) (n0n1n0n0n0n0n1n0n2n0n0n0) {$p?$\,\ifntiny{\tiny 29756}\fi};
\node[accepting, state] at (10,-20) (n0n1n0n0n0n0n1n0n2n0) {$p?$\,\ifntiny{\tiny 29783}\fi};
\node[state] at (9,-14) (n0n1n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 29850}\fi};
\node[accepting, state] at (10,-26) (n0n1n0n0n0n0n1n0n2n0n0n1n0) {$p?$\,\ifntiny{\tiny 29775}\fi};
\node[accepting, state] at (14,-10) (n0n2n0n0n1) {$p?$\,\ifntiny{\tiny 29816}\fi};
\node[accepting, state] at (13,-12) (n0n2n0n0n0n0) {$p?$\,\ifntiny{\tiny 29807}\fi};
\node[accepting, state] at (4,-12) (n0n0n0n1n0n2) {$p?$\,\ifntiny{\tiny 29784}\fi};
\node[state] at (1,-14) (n0n0n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 29831}\fi};
\node[accepting, state] at (4,-14) (n0n0n0n1n0n2n0) {$p?$\,\ifntiny{\tiny 29783}\fi};
\node[state] at (12,-10) (n0n1n0n0n1) {$p?$\,\ifntiny{\tiny 29853}\fi};
\node[state] at (9,-8) (n0n1n0n0) {$\cup$\,\ifntiny{\tiny 29854}\fi};
\node[state] at (3,-8) (n0n0n0n1) {$p?$\,\ifntiny{\tiny 29835}\fi};
\node[accepting, state] at (14,-4) (n0n2) {$p?$\,\ifntiny{\tiny 29820}\fi};
\node[accepting, state] at (14,-6) (n0n2n0) {$p?$\,\ifntiny{\tiny 29819}\fi};
\node[state] at (7,-20) (n0n1n0n0n0n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 29846}\fi};
\node[accepting, state] at (4,-16) (n0n0n0n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 29782}\fi};
\node[state] at (8,-2) (n0) {$\cup$\,\ifntiny{\tiny 29857}\fi};
\node[state] at (7,-18) (n0n1n0n0n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 29847}\fi};

\draw[->, thick] (n) edge [near start, left] node {a} (n0);
\draw[->, thick] (n0) edge [near start, left] node {} (n0n0);
\draw[->, thick] (n0) edge [near start, left] node {} (n0n1);
\draw[->, thick] (n0) edge [near start, left] node {} (n0n2);
\draw[->, thick] (n0n0) edge [near start, left] node {a} (n0n0n0);
\draw[->, thick] (n0n0n0) edge [near start, left] node {} (n0n0n0n0);
\draw[->, thick] (n0n0n0) edge [near start, left] node {} (n0n0n0n1);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {b} (n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0);
\draw[->, thick] (n0n0n0n1) edge [near start, left] node {a} (n0n0n0n1n0);
\draw[->, thick] (n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n1n0n0);
\draw[->, thick] (n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n1n0n1);
\draw[->, thick] (n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n1n0n2);
\draw[->, thick] (n0n0n0n1n0n0) edge [near start, left] node {b} (n0n0n0n1n0n0n0);
\draw[->, thick] (n0n0n0n1n0n0n0) edge [near start, right, bend right] node {a} (n0);
\draw[->, thick] (n0n0n0n1n0n1) edge [near start, right, bend right] node {a} (n0n0n0n1n0);
\draw[->, thick] (n0n0n0n1n0n2) edge [near start, left] node {a} (n0n0n0n1n0n2n0);
\draw[->, thick] (n0n0n0n1n0n2n0) edge [near start, left] node {a} (n0n0n0n1n0n2n0n0);
\draw[->, thick] (n0n0n0n1n0n2n0n0) edge [near start, left] node {x1} (n0n0n0n1n0n2n0n0n0);
\draw[->, thick] (n0n0n0n1n0n2n0n0) edge [near start, left] node {x2} (n0n0n0n1n0n2n0n0n1);
\draw[->, thick] (n0n0n0n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n0n0n1n0n2);
\draw[->, thick] (n0n0n0n1n0n2n0n0n0) edge [near start, left] node {a} (n0n0n0n1n0n2n0n0n0n0);
\draw[->, thick] (n0n0n0n1n0n2n0n0n0n0) edge [near start, left] node {b} (n0n0n0n1n0n2n0n0n0n0n0);
\draw[->, thick] (n0n0n0n1n0n2n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0n0n0n1n0n2n0n0);
\draw[->, thick] (n0n0n0n1n0n2n0n0n1) edge [near start, left] node {a} (n0n0n0n1n0n2n0n0n1n0);
\draw[->, thick] (n0n0n0n1n0n2n0n0n1n0) edge [near start, right, bend right] node {a} (n0n0n0n1n0n2n0n0);
\draw[->, thick] (n0n1) edge [near start, left] node {b} (n0n1n0);
\draw[->, thick] (n0n1n0) edge [near start, left] node {a} (n0n1n0n0);
\draw[->, thick] (n0n1n0n0) edge [near start, left] node {} (n0n1n0n0n0);
\draw[->, thick] (n0n1n0n0) edge [near start, left] node {} (n0n1n0n0n1);
\draw[->, thick] (n0n1n0n0n0) edge [near start, left] node {a} (n0n1n0n0n0n0);
\draw[->, thick] (n0n1n0n0n0n0) edge [near start, left] node {} (n0n1n0n0n0n0n0);
\draw[->, thick] (n0n1n0n0n0n0) edge [near start, left] node {} (n0n1n0n0n0n0n1);
\draw[->, thick] (n0n1n0n0n0n0n0) edge [near start, left] node {b} (n0n1n0n0n0n0n0n0);
\draw[->, thick] (n0n1n0n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0);
\draw[->, thick] (n0n1n0n0n0n0n1) edge [near start, left] node {a} (n0n1n0n0n0n0n1n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0) edge [near start, left] node {} (n0n1n0n0n0n0n1n0n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0) edge [near start, left] node {} (n0n1n0n0n0n0n1n0n1);
\draw[->, thick] (n0n1n0n0n0n0n1n0) edge [near start, left] node {} (n0n1n0n0n0n0n1n0n2);
\draw[->, thick] (n0n1n0n0n0n0n1n0n0) edge [near start, left] node {b} (n0n1n0n0n0n0n1n0n0n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0n0n0) edge [near start, right, bend right] node {a} (n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0n1) edge [near start, right, bend right] node {a} (n0n1n0n0n0n0n1n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0n2) edge [near start, left] node {a} (n0n1n0n0n0n0n1n0n2n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0n2n0) edge [near start, left] node {a} (n0n1n0n0n0n0n1n0n2n0n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0n2n0n0) edge [near start, left] node {x1} (n0n1n0n0n0n0n1n0n2n0n0n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0n2n0n0) edge [near start, left] node {x2} (n0n1n0n0n0n0n1n0n2n0n0n1);
\draw[->, thick] (n0n1n0n0n0n0n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n1n0n0n0n0n1n0n2);
\draw[->, thick] (n0n1n0n0n0n0n1n0n2n0n0n0) edge [near start, left] node {a} (n0n1n0n0n0n0n1n0n2n0n0n0n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0n2n0n0n0n0) edge [near start, left] node {b} (n0n1n0n0n0n0n1n0n2n0n0n0n0n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0n2n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0n1n0n0n0n0n1n0n2n0n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0n2n0n0n1) edge [near start, left] node {a} (n0n1n0n0n0n0n1n0n2n0n0n1n0);
\draw[->, thick] (n0n1n0n0n0n0n1n0n2n0n0n1n0) edge [near start, right, bend right] node {a} (n0n1n0n0n0n0n1n0n2n0n0);
\draw[->, thick] (n0n1n0n0n1) edge [near start, left, bend left] node {b} (n0n1n0);
\draw[->, thick] (n0n2) edge [near start, left] node {a} (n0n2n0);
\draw[->, thick] (n0n2n0) edge [near start, left] node {a} (n0n2n0n0);
\draw[->, thick] (n0n2n0n0) edge [near start, left] node {x1} (n0n2n0n0n0);
\draw[->, thick] (n0n2n0n0) edge [near start, left] node {x2} (n0n2n0n0n1);
\draw[->, thick] (n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n2);
\draw[->, thick] (n0n2n0n0n0) edge [near start, left] node {a} (n0n2n0n0n0n0);
\draw[->, thick] (n0n2n0n0n0n0) edge [near start, left] node {b} (n0n2n0n0n0n0n0);
\draw[->, thick] (n0n2n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0n2n0n0);
\draw[->, thick] (n0n2n0n0n1) edge [near start, left] node {a} (n0n2n0n0n1n0);
\draw[->, thick] (n0n2n0n0n1n0) edge [near start, right, bend right] node {a} (n0n2n0n0);

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