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

@@ -47,7 +47,7 @@
},
"solutions": {
"main-ac": "ac.cpp",
"alternative-ac": ["alternative-ac.py"],
"alternative-ac": ["alternative-ac.py","saad_java.java"],
"wrong-answer": [],
"time-limit": [],
"time-limit-or-ac": [],

Binary file not shown.

View File

@@ -5,7 +5,8 @@
\usepackage{url}
\pagenumbering{gobble}
\usepackage{hyperref}
\usepackage{graphicx}
\input{statement/preamble.tex}
\title{ Tutorial: SMS}
\author{Arthur Andrade D'Olival}
\date{}

Binary file not shown.

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} & \\