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

@@ -5,9 +5,10 @@
\usepackage{url}
\pagenumbering{gobble}
\usepackage{hyperref}
\usepackage{graphicx}
\input{statement/preamble.tex}
\title{ Tutorial: Caching Offline}
\author{}
\author{Arthur Andrade D'Olival }
\date{}
\begin{document}
\maketitle

Binary file not shown.

View File

@@ -1,7 +1,7 @@
\documentclass{maratona}
\begin{document}
\begin{ProblemaAutor}{}{Caching Offline}{1}{256}{}
\begin{ProblemaAutor}{}{Caching Offline}{1}{256}{Arthur Andrade D'Olival }
Dado um sistema com memória principal dividida em \( k \) frames, deseja-se gerenciar uma sequência de requisições de páginas de modo a minimizar falhas de memória (\textit{cache misses}).
@@ -24,6 +24,7 @@ A saída deve conter uma única linha.
Deve ser impresso um único inteiro representando o \textbf{menor número de falhas de página} (\textit{cache misses}) que podem ser obtidos para a sequência e capacidade de memória fornecidas.
\ExemploEntrada
\begin{Exemplo}
\texttt{1~3} & \texttt{3}\\
\texttt{1~2~3} & \\

View File

@@ -2,7 +2,7 @@
"version": "1.0",
"problem": {
"title": "Caching Offline",
"event": "",
"event": "DS Contest Tools",
"time_limit": 1.0,
"memory_limit_mb": 256,
"input_file": "stdin",
@@ -22,7 +22,7 @@
}
},
"author": {
"name": "",
"name": "Arthur Andrade D'Olival ",
"affiliation": "",
"country": "",
"email": ""
@@ -36,7 +36,7 @@
"run_specific_solution": "",
"generate_io_only": false,
"generate_pdf_only": false,
"cpu_count": 1,
"cpu_count": 0,
"build_pdf": true,
"pdf_format": "ds",
"io_samples": 3