Merge branch 'master' of https://github.com/thecodingwizard/usaco-guide
This commit is contained in:
commit
0c521b8cb3
53 changed files with 78 additions and 55 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
id: about
|
||||
id: about-this
|
||||
title: About This Guide
|
||||
author: Nathan Wang, Benjamin Qi
|
||||
---
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
id: data
|
||||
id: data-types
|
||||
title: Data Types
|
||||
author: Darren Yao
|
||||
---
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
id: problems
|
||||
title: Introductory Problems
|
||||
id: ex-prob
|
||||
title: An Example Problem
|
||||
author: Nathan Wang, Benjamin Qi, Darren Yao
|
||||
problems:
|
||||
- bronze_promote
|
||||
|
@ -9,7 +9,7 @@ problems:
|
|||
- bronze_square
|
||||
---
|
||||
|
||||
Solutions for an introductory USACO problem in multiple languages.
|
||||
Solutions for an example USACO problem in multiple languages.
|
||||
|
||||
<!-- END DESCRIPTION -->
|
||||
|
||||
|
@ -179,11 +179,9 @@ for i in range(100):
|
|||
fout.write(str(ans))
|
||||
```
|
||||
|
||||
## Problems
|
||||
## Introductory Problems
|
||||
|
||||
Let's begin by solving a few problems! The following require relatively little programming experience and no algorithmic knowledge.
|
||||
|
||||
Do as many as you want, then move on! You do not have to do all of them.
|
||||
The following require relatively little programming experience and no algorithmic knowledge. Do as many as you want, then move on! You do not have to do all of them.
|
||||
|
||||
- [Promotion Counting](http://usaco.org/index.php?page=viewproblem2&cpid=591)
|
||||
- [Word Processor](http://usaco.org/index.php?page=viewproblem2&cpid=987)
|
|
@ -1,11 +1,10 @@
|
|||
---
|
||||
id: io
|
||||
title: Input and Output
|
||||
title: Input & Output
|
||||
author: Darren Yao
|
||||
order: 5
|
||||
---
|
||||
|
||||
Demonstrates how to read in input and print output for USACO.
|
||||
Demonstrates how to read input and print output for USACO.
|
||||
|
||||
<!-- END DESCRIPTION -->
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
id: prerequisites
|
||||
id: prereqs
|
||||
title: Prerequisites
|
||||
author: Nathan Wang
|
||||
---
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
id: strategy
|
||||
id: contest-strategy
|
||||
title: Contest Strategy
|
||||
author: ?
|
||||
---
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
id: rectangle-geometry
|
||||
id: rect-geo
|
||||
title: "Rectangle Geometry"
|
||||
author: Darren Yao
|
||||
---
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
id: two-pointers
|
||||
id: 2P
|
||||
title: "Two Pointers"
|
||||
author: Darren Yao
|
||||
prerequisites:
|
|
@ -2,7 +2,6 @@
|
|||
id: sorting
|
||||
title: "Sorting"
|
||||
author: Siyong (WIP)
|
||||
order: 3
|
||||
prerequisites:
|
||||
-
|
||||
- Silver - Containers
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
id: complexity
|
||||
id: time-comp
|
||||
title: "Time Complexity"
|
||||
author: Darren Yao, Benjamin Qi
|
||||
---
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
id: introductory-number-theory
|
||||
id: intro-nt
|
||||
title: "Introductory Number Theory"
|
||||
author: Unknown
|
||||
---
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
id: hashing
|
||||
id: strings
|
||||
title: "Strings"
|
||||
author: Benjamin Qi
|
||||
prerequisites:
|
|
@ -1,9 +1,11 @@
|
|||
---
|
||||
id: syllabus
|
||||
title: Syllabus
|
||||
author: Benjamin Qi, I FORGOT WHO ELSE EVERYONE PUT YOUR NAME HERE :D
|
||||
author: Benjamin Qi
|
||||
---
|
||||
|
||||
(outdated)
|
||||
|
||||
Below, we've compiled some of the main topics for each division.
|
||||
|
||||
<!-- END DESCRIPTION -->
|
|
@ -2,69 +2,94 @@ const ModuleOrdering = {
|
|||
"intro": [
|
||||
"about-this",
|
||||
"getting-started",
|
||||
"prerequisites",
|
||||
"prereqs",
|
||||
"running-cpp",
|
||||
"problems",
|
||||
"syllabus",
|
||||
"data-types",
|
||||
"io",
|
||||
"ex-prob",
|
||||
"practicing",
|
||||
],
|
||||
"general": [
|
||||
"resources",
|
||||
"contests",
|
||||
"why-cpp",
|
||||
"practicing",
|
||||
"strategy",
|
||||
"debugging",
|
||||
"macros",
|
||||
"contest-strategy",
|
||||
"proposing",
|
||||
"why-cpp",
|
||||
"macros",
|
||||
"debugging",
|
||||
],
|
||||
"bronze": [
|
||||
"overview",
|
||||
"rectangle-geometry",
|
||||
"rect-geo",
|
||||
{
|
||||
name: "Data Structures",
|
||||
items: [
|
||||
"collections",
|
||||
"containers",
|
||||
"ds",
|
||||
"pairs",
|
||||
"ds",
|
||||
]
|
||||
},
|
||||
"simulation",
|
||||
"complete-search",
|
||||
],
|
||||
"silver": [
|
||||
"complexity",
|
||||
"time-comp",
|
||||
"greedy",
|
||||
"sorting",
|
||||
"binary-search",
|
||||
"two-pointers",
|
||||
"2P",
|
||||
"prefix-sums",
|
||||
"data-structures",
|
||||
"dfs"
|
||||
],
|
||||
"gold": [
|
||||
"dp",
|
||||
"intro-nt",
|
||||
"bit",
|
||||
{
|
||||
name: "Graphs",
|
||||
items: [
|
||||
"bfs",
|
||||
"toposort",
|
||||
"sp",
|
||||
"mst",
|
||||
"bit",
|
||||
"introductory-number-theory",
|
||||
"mst"
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "Dynamic Programming",
|
||||
items: [
|
||||
"dp",
|
||||
"dp-trees"
|
||||
]
|
||||
}
|
||||
],
|
||||
"plat": [
|
||||
"oly",
|
||||
"trees",
|
||||
{
|
||||
name: "Range Queries",
|
||||
items: [
|
||||
"1DRQ",
|
||||
"2DRQ",
|
||||
"geo",
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "Graphs",
|
||||
items: [
|
||||
"trees",
|
||||
"graphs",
|
||||
"hashing",
|
||||
"bitset",
|
||||
"fracture",
|
||||
"slope",
|
||||
]
|
||||
},
|
||||
{
|
||||
name: "Dynamic Programming",
|
||||
items: [
|
||||
"dp-bitmasks",
|
||||
"dp-ranges"
|
||||
"dp-ranges",
|
||||
"slope",
|
||||
]
|
||||
}
|
||||
},
|
||||
"geo",
|
||||
"strings",
|
||||
"bitset",
|
||||
"fracture",
|
||||
]
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue