fix: main ac

This commit is contained in:
2026-05-20 14:44:37 -03:00
parent cc687b9471
commit 3ec1280357
103 changed files with 130 additions and 155 deletions

View File

@@ -1,5 +1,23 @@
\documentclass{maratona}
\usepackage[boxed,algoruled,linesnumbered,vlined,longend]{algorithm2e}
\SetKwFor{For}{for $($}{$)$}{}
\SetKwFor{ForAll}{for all $($}{$)$}{}
\SetKwFor{If}{if $($}{$)$}{}
\SetKwFor{ElseIf}{else if $($}{$)$}{}
\newcommand{\Call}[2]{\textsc{#1}(#2)}
\SetFuncSty{textsc}
\DontPrintSemicolon
\newenvironment{algoritmo}[1][htbp]
{
\begingroup
\renewcommand{\algorithmcfname}{Algoritmo}
\begin{algorithm}[#1]
}
{
\end{algorithm}
\endgroup
}
\begin{document}
\begin{ProblemaAutor}{}{Inclusão de Subintervalos}{1}{256}{}
@@ -22,6 +40,7 @@ As próximas \( n \) linhas contêm, cada uma, dois inteiros \( l_i \) e \( r_i
Para cada caso de teste, imprima um único inteiro representando o tamanho do menor conjunto \( S' \subseteq S \) que cobre todos os intervalos de \( S \).
\ExemploEntrada
\begin{Exemplo}
\texttt{3} & \texttt{3}\\
\texttt{1~2} & \\