adicionando soluções java e py

This commit is contained in:
2026-10-28 15:42:27 -03:00
parent d860dd2f7a
commit eefcf7cf4e
106 changed files with 143 additions and 62 deletions

View File

@@ -24,6 +24,7 @@ Se for possível que o SMS chegue até Ana, primeiro imprima $k$: o número mín
Se não for possível encontrar nenhuma rota, imprima \texttt{-1}.
\ExemploEntrada
\begin{Exemplo}
\texttt{5~5} & \texttt{3}\\
\texttt{1~2} & \texttt{1~4~5}\\
@@ -31,7 +32,7 @@ Se não for possível encontrar nenhuma rota, imprima \texttt{-1}.
\texttt{1~4} & \\
\texttt{2~3} & \\
\texttt{5~4} & \\
\rowcolor{gray!20}\texttt{5~4} & \texttt{-1}\\
\rowcolor{gray!20}\texttt{5~4} & \texttt{\textendash{}1}\\
\rowcolor{gray!20}\texttt{1~2} & \\
\rowcolor{gray!20}\texttt{2~3} & \\
\rowcolor{gray!20}\texttt{3~4} & \\