\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/march3testa1-march3testb2/sim-26497-26496.tex}
\rhead{11:55:02.417 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 = 28
\begin{tikzpicture}[rotate = 0]
%\begin{tikzpicture}[rotate = 90]
\tikzset{initial text=$ $}

\node[accepting, state] at (9,-2) (n1) {$p?$\,\ifntiny{\tiny 26553}\fi};
\node[accepting, state] at (4,-14) (n0n0n2n0n0n0n2) {$p?$\,\ifntiny{\tiny 27845}\fi};
\node[accepting, state] at (6,-8) (n0n0n3n0) {$p?$\,\ifntiny{\tiny 26884}\fi};
\node[accepting, state] at (9,-4) (n1n0) {$p!$\,\ifntiny{\tiny 26552}\fi};
\node[accepting, state] at (9,-8) (n1n0n1n0) {$p?$\,\ifntiny{\tiny 26545}\fi};
\node[initial, state] at (5,0) (n) {$\cup$\,\ifntiny{\tiny 29561}\fi};
\node[accepting, state] at (3,-10) (n0n0n2n0n0) {$p?$\,\ifntiny{\tiny 27847}\fi};
\node[accepting, state] at (3,-8) (n0n0n2n0) {$p?$\,\ifntiny{\tiny 27848}\fi};
\node[state] at (4,-2) (n0) {$p?$\,\ifntiny{\tiny 29536}\fi};
\node[accepting, state] at (4,-16) (n0n0n2n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 27844}\fi};
\node[accepting, state] at (7,-12) (n0n0n3n0n0n2) {$p?$\,\ifntiny{\tiny 26882}\fi};
\node[accepting, state] at (9,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 26546}\fi};
\node[accepting, state] at (5,-12) (n0n0n3n0n0n0) {$p?$\,\ifntiny{\tiny 26861}\fi};
\node[accepting, state] at (3,-6) (n0n0n2) {$p?$\,\ifntiny{\tiny 27849}\fi};
\node[accepting, state] at (7,-14) (n0n0n3n0n0n2n0) {$p?$\,\ifntiny{\tiny 26881}\fi};
\node[accepting, state] at (3,-12) (n0n0n2n0n0n0) {$p!$\,\ifntiny{\tiny 27846}\fi};
\node[accepting, state] at (6,-6) (n0n0n3) {$p?$\,\ifntiny{\tiny 26885}\fi};
\node[accepting, state] at (6,-10) (n0n0n3n0n0) {$p!$\,\ifntiny{\tiny 26883}\fi};
\node[state] at (0,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 29537}\fi};
\node[state] at (4,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 29535}\fi};
\node[accepting, state] at (8,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 26555}\fi};
\node[accepting, state] at (5,-16) (n0n0n3n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 26859}\fi};
\node[accepting, state] at (5,-14) (n0n0n3n0n0n0n0) {$p?$\,\ifntiny{\tiny 26860}\fi};
\node[accepting, state] at (10,-6) (n1n0n2) {$p?$\,\ifntiny{\tiny 26551}\fi};
\node[accepting, state] at (3,-16) (n0n0n2n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 27818}\fi};
\node[accepting, state] at (3,-14) (n0n0n2n0n0n0n1) {$p?$\,\ifntiny{\tiny 27819}\fi};
\node[accepting, state] at (10,-8) (n1n0n2n0) {$p?$\,\ifntiny{\tiny 26550}\fi};
\node[accepting, state] at (8,-8) (n1n0n0n0) {$p?$\,\ifntiny{\tiny 26554}\fi};

\draw[->, thick] (n) edge [near start, left] node {} (n0);
\draw[->, thick] (n) edge [near start, left] node {} (n1);
\draw[->, thick] (n0) edge [near start, left] node {a} (n0n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n0);
\draw[->, thick] (n0n0) edge [near start, right, bend right] node {} (n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n2);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n3);
\draw[->, thick] (n0n0n0) edge [near start, right, bend right] node {b} (n0);
\draw[->, thick] (n0n0n2) edge [near start, left] node {a} (n0n0n2n0);
\draw[->, thick] (n0n0n2n0) edge [near start, left] node {b} (n0n0n2n0n0);
\draw[->, thick] (n0n0n2n0n0) edge [near start, left] node {a} (n0n0n2n0n0n0);
\draw[->, thick] (n0n0n2n0n0n0) edge [near start, right, bend right] node {x1} (n0n0n2);
\draw[->, thick] (n0n0n2n0n0n0) edge [near start, left] node {x2} (n0n0n2n0n0n0n1);
\draw[->, thick] (n0n0n2n0n0n0) edge [near start, left] node {x3} (n0n0n2n0n0n0n2);
\draw[->, thick] (n0n0n2n0n0n0n1) edge [near start, left] node {a} (n0n0n2n0n0n0n1n0);
\draw[->, thick] (n0n0n2n0n0n0n1n0) edge [near start, right, bend right] node {a} (n0n0n2n0n0n0);
\draw[->, thick] (n0n0n2n0n0n0n2) edge [near start, left] node {a} (n0n0n2n0n0n0n2n0);
\draw[->, thick] (n0n0n2n0n0n0n2n0) edge [near start, left, bend left] node {a} (n0n0n2n0n0n0);
\draw[->, thick] (n0n0n3) edge [near start, left] node {a} (n0n0n3n0);
\draw[->, thick] (n0n0n3n0) edge [near start, left] node {a} (n0n0n3n0n0);
\draw[->, thick] (n0n0n3n0n0) edge [near start, left] node {x1} (n0n0n3n0n0n0);
\draw[->, thick] (n0n0n3n0n0) edge [near start, right, bend right] node {x2} (n0n0n3);
\draw[->, thick] (n0n0n3n0n0) edge [near start, left] node {x3} (n0n0n3n0n0n2);
\draw[->, thick] (n0n0n3n0n0n0) edge [near start, left] node {a} (n0n0n3n0n0n0n0);
\draw[->, thick] (n0n0n3n0n0n0n0) edge [near start, left] node {b} (n0n0n3n0n0n0n0n0);
\draw[->, thick] (n0n0n3n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0n0n3n0n0);
\draw[->, thick] (n0n0n3n0n0n2) edge [near start, left] node {a} (n0n0n3n0n0n2n0);
\draw[->, thick] (n0n0n3n0n0n2n0) edge [near start, left, bend left] node {a} (n0n0n3n0n0);
\draw[->, thick] (n1) edge [near start, left] node {a} (n1n0);
\draw[->, thick] (n1n0) edge [near start, left] node {x1} (n1n0n0);
\draw[->, thick] (n1n0) edge [near start, left] node {x2} (n1n0n1);
\draw[->, thick] (n1n0) edge [near start, left] node {x3} (n1n0n2);
\draw[->, thick] (n1n0n0) edge [near start, left] node {a} (n1n0n0n0);
\draw[->, thick] (n1n0n0n0) edge [near start, right, bend right] node {b} (n1);
\draw[->, thick] (n1n0n1) edge [near start, left] node {a} (n1n0n1n0);
\draw[->, thick] (n1n0n1n0) edge [near start, right, bend right] node {a} (n1n0);
\draw[->, thick] (n1n0n2) edge [near start, left] node {a} (n1n0n2n0);
\draw[->, thick] (n1n0n2n0) edge [near start, left, bend left] node {a} (n1n0);

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