fix: updated problem output since the numbers of combinations could be very high.

This commit is contained in:
2026-05-18 16:34:33 -03:00
parent c85571e157
commit c58f6e4aeb
10 changed files with 23 additions and 7 deletions

View File

@@ -18,6 +18,8 @@ A segunda linha contém uma sequência de digitos de \( s \) de comprimento \( n
A saída deve conter um único inteiro, representando o número total de maneiras possíveis de decodificar a sequência numérica \( s \) de acordo com o mapeamento \( 1 \rightarrow A, 2 \rightarrow B, \ldots, 26 \rightarrow Z \).
Como este número pode ser extremamente grande, sua resposta deve ser calculada e impressa \textbf{módulo \(10^9 + 7\)}.
\ExemploEntrada
\begin{Exemplo}
\texttt{2} & \texttt{2}\\