Leanpub Header

Skip to main content

Comece com a Programação Competitiva!: Domine a Competição Bronze da USACO (Edição em Português do Brasil)

Quer começar com a programação competitiva?

Cansado de ler código criptográfico?

Cansado de não saber quais problemas resolver a seguir para melhorar?

Não está aprendendo muito com os problemas que você resolve? ("Todo problema parece tão diferente :( ")

Estamos aqui para ajudar!

Este livro é seu guia de início rápido na programação competitiva!

This book is a translation into Portuguese (Brazilian) of Start Competitive Programming!: Ace the USACO Bronze Competition which was originally written in English

Minimum price

Free!

$10.00

You pay

$10.00

Authors earn

$8.00
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
About

About

About the Book

Atualização de 2024!

OK, então você quer fazer um pouco de programação competitiva.

Talvez você tenha ouvido que programação competitiva é uma ótima preparação para entrevistas de programação.

Ou que pode ajudá-lo a se tornar um programador melhor.

Ou que pode ajudá-lo a aprender algoritmos para turbinar seu código.

Ou que programação competitiva é divertida.

Tudo verdade! (Bem, esperamos que seja divertido :-) )

Se você quer começar com programação competitiva, não procure mais. Aqui dentro, você encontrará:

- Conselhos especializados dos autores. Dr. Baharav (que é o Coach B no livro :-) ) é um treinador de programação competitiva. Dr. Zingaro é autor de vários livros best-sellers sobre programação competitiva.

- Conselhos sobre como categorizar um problema antes de tentar resolvê-lo. Por que categorizar? Porque então você sabe que tipo de problema é e quais técnicas de solução tentar! Problemas de modelagem, problemas de busca, problemas de otimização, problemas de geometria (não fuja... SEM PROVAS, prometemos!), problemas de string, problemas ad hoc -- nós temos todos eles.

- Comunicação entre um treinador e sua equipe. Como um verdadeiro treinador faria!

- Código C++ para todos os problemas do livro.

- Seleções curadas e categorizadas de problemas de prática, com dicas e código C++ completo. Código Python também fornecido!

Pare de perder tempo tentando descobrir o que aprender a seguir, ficando confuso com código críptico ou navegando por muitos sites diferentes. Nosso guia direto ao ponto mostra como navegar, desde "nunca tentei programação competitiva antes" até "BOOM, passei no Bronze!"

Quer participar do Advent of Code? Codeforces? Leetcode? Nós focamos no nível Bronze do USA Computing Olympiad (USACO) para este livro, mas o que você aprende se aplica a outros contextos de programação competitiva também.

This book is a translation into Portuguese (Brazilian) of Start Competitive Programming!: Ace the USACO Bronze Competition which was originally written in English

Author

About the Authors

Zachi Baharav

Dr. Zachi Baharav holds a Ph.D. in Electrical Engineering from the Technion, Israel Institute of Technology.

After more than 20 years in the hi-tech industry and academia, I retired to dedicate my time to the next generation. I am now coaching high school students in Math and Computer Science.

Daniel Zingaro

Dr. Daniel Zingaro is an associate teaching professor of computer science and award-winning teacher at the University of Toronto. His main area of research is computer science education, where he studies how students learn computer science material.

He may have a book obsession. He has written

Learn AI-assisted Python Programming with GitHub Copilot and ChatGPT (with Leo Porter, Manning, 2024). Learn programming in the generative AI era!

Algorithmic Thinking 2/e (No Starch Press, 2024). Learn hash tables, recursion, dynamic programming, trees, graphs, and all kinds of other awesome algorithms and data structures stuff... competitive programming examples!

Learn to Code by Solving Problems (No Starch Press, 2021). Learn programming from scratch while solving competitive programming puzzles. Class tested and refined with hundreds of real students.

TranslateAI

Leanpub now has a TranslateAI service which uses AI to translate their book from English into up to 31 languages, or from one of those 31 languages into English. We also have a GlobalAuthor bundle which uses TranslateAI to translate English-language books into either 8 or 31 languages.

Leanpub exists to serve our authors. We want to help you reach as many readers as possible, in their preferred language. So, just as Leanpub automates the process of publishing a PDF and EPUB ebook, we've now automated the process of translating those books!

Contents

Table of Contents

    • Carta ao aluno
    • Carta aos pais
    • Carta ao profissional treinado
    • Agradecimentos
    Parte I. Preliminares
    • Capítulo 1. USACO Bronze
      • 1.1. Perguntas Frequentes sobre o USACO Bronze
      • 1.2. Resolvendo e Submetendo um Problema do USACO
      • 1.3. Como Trabalhar com Este Livro
      • 1.4. Resumo
    • Capítulo 2. Resolvendo e Codificando: Especificidades da Competição
      • 2.1. Lendo e Analisando um Problema USACO
      • 2.2. Codificando Seu Algoritmo
      • 2.3. Depuração
      • 2.4. Usando uma Solução
      • 2.5. Resumo
    • Capítulo 3. Análise de Complexidade
      • 3.1. Notação Big O
      • 3.2. Complexidade de tempo
      • 3.3. Complexidade de espaço
      • 3.4. Resumo
    Parte II. Técnicas Principais
    • Capítulo 4. Modelagem e Simulação
      • 4.1. Modelando um Processo Dinâmico
      • 4.2. Modelagem de um Processo Estático
      • 4.3. Modelando um Processo Periódico
      • 4.4. Aceleração da Simulação
      • 4.5. Resumo
    • Capítulo 5. Busca e Otimização
      • 5.1. Busca Exaustiva
      • 5.2. Domínio de Busca
      • 5.3. Enumeração de Domínios
      • 5.4. Aceleração da Busca
      • 5.5. Algoritmos Gananciosos
      • 5.6. Resumo
    • Capítulo 6. Conceitos de Geometria
      • 6.1. Uma Dimensão: Linhas
      • 6.2. Duas Dimensões: Retângulos
      • 6.3. Além dos Noventa Graus
      • 6.4. Resumo
    • Capítulo 7. Strings
      • 7.1. Strings como Sequências de Caracteres
      • 7.2. Strings como Palavras
      • 7.3. Strings como Objetos
      • 7.4. Resumo
    • Capítulo 8. Problemas Ad Hoc e Técnicas Avançadas
      • 8.1. A Técnica de Avançar e Recuar
      • 8.2. Focando em Eventos Significativos
      • 8.3. Árvores
      • 8.4. Dicionários e Arrays Dinâmicos
      • 8.5. Resumo
    Parte III. Dia da Competição e Além
    • Capítulo 9. Dia da Competição
      • 9.1. Uma Semana Antes
      • 9.2. A Competição
      • 9.3. Pós-Competição
      • 9.4. Resumo
    • Capítulo 10. Além do USACO Bronze
      • 10.1. Silver e Além
      • 10.2. Resolvendo seu primeiro problema USACO Silver
      • 10.3. Resumo
    Parte IV. Apêndice
    • Apêndice A. Lista de Todos os Problemas de Bronze do USACO
      • Problemas do USACO
      • Problemas do Codeforces
      • Problemas do CSES
    • Apêndice B. Prática Além do USACO
      • B.1. Guias Online e Aulas ao Vivo
      • B.2. Prática e Competições Online
      • B.3. LIVROS

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub