adicionando soluções java e py
This commit is contained in:
@@ -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} & \\
|
||||
|
||||
Reference in New Issue
Block a user