Skip to content

Commit

Permalink
Merge pull request #4294 from cpinitiative/auto
Browse files Browse the repository at this point in the history
Problem auto-updates
  • Loading branch information
danielzsh authored Feb 7, 2024
2 parents 04b7e56 + bc5fee8 commit a8432c2
Show file tree
Hide file tree
Showing 3 changed files with 185 additions and 5 deletions.
156 changes: 156 additions & 0 deletions content/extraProblems.json
Original file line number Diff line number Diff line change
Expand Up @@ -1914,6 +1914,162 @@
"kind": "USACO",
"usacoId": "1358"
}
},
{
"uniqueId": "usaco-1371",
"name": "Majority Opinion",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1371",
"source": "Bronze",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1371"
}
},
{
"uniqueId": "usaco-1372",
"name": "Cannonball",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1372",
"source": "Bronze",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1372"
}
},
{
"uniqueId": "usaco-1373",
"name": "Balancing Bacteria",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1373",
"source": "Bronze",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1373"
}
},
{
"uniqueId": "usaco-1374",
"name": "Cowmpetency",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1374",
"source": "Silver",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1374"
}
},
{
"uniqueId": "usaco-1375",
"name": "Potion Farming",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1375",
"source": "Silver",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1375"
}
},
{
"uniqueId": "usaco-1376",
"name": "Cowlendar",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1376",
"source": "Silver",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1376"
}
},
{
"uniqueId": "usaco-1377",
"name": "Walking in Manhattan",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1377",
"source": "Gold",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1377"
}
},
{
"uniqueId": "usaco-1378",
"name": "Cowmpetency",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1378",
"source": "Gold",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1378"
}
},
{
"uniqueId": "usaco-1379",
"name": "Nap Sort",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1379",
"source": "Gold",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1379"
}
},
{
"uniqueId": "usaco-1380",
"name": "Island Vacation",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1380",
"source": "Platinum",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1380"
}
},
{
"uniqueId": "usaco-1381",
"name": "Merging Cells",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1381",
"source": "Platinum",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1381"
}
},
{
"uniqueId": "usaco-1382",
"name": "Mooball Teams III",
"url": "http://www.usaco.org/index.php?page=viewproblem2&cpid=1382",
"source": "Platinum",
"difficulty": "N/A",
"isStarred": false,
"tags": [],
"solutionMetadata": {
"kind": "USACO",
"usacoId": "1382"
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@
["1325", "2023 US Open", "Rotate and Shift"],
["1347", "2023 December", "Candy Cane Feast"],
["1348", "2023 December", "Cowntact Tracing 2"],
["1349", "2023 December", "Farmer John Actually Farms"]
["1349", "2023 December", "Farmer John Actually Farms"],
["1371", "2024 January", "Majority Opinion"],
["1372", "2024 January", "Cannonball"],
["1373", "2024 January", "Balancing Bacteria"]
],
"Silver": [
["570", "2015 December", "Switching on the Lights"],
Expand Down Expand Up @@ -199,7 +202,10 @@
["1328", "2023 US Open", "Pareidolia"],
["1350", "2023 December", "Bovine Acrobatics"],
["1351", "2023 December", "Cycle Correspondence"],
["1352", "2023 December", "Target Practice"]
["1352", "2023 December", "Target Practice"],
["1374", "2024 January", "Cowmpetency"],
["1375", "2024 January", "Potion Farming"],
["1376", "2024 January", "Cowlendar"]
],
"Gold": [
["573", "2015 December", "High Card Low Card (Gold)"],
Expand Down Expand Up @@ -299,7 +305,10 @@
["1331", "2023 US Open", "Tree Merging"],
["1353", "2023 December", "Flight Routes"],
["1354", "2023 December", "Minimum Longest Trip"],
["1355", "2023 December", "Haybale Distribution"]
["1355", "2023 December", "Haybale Distribution"],
["1377", "2024 January", "Walking in Manhattan"],
["1378", "2024 January", "Cowmpetency"],
["1379", "2024 January", "Nap Sort"]
],
"Platinum": [
["576", "2015 December", "Max Flow"],
Expand Down Expand Up @@ -400,6 +409,9 @@
["1334", "2023 US Open", "Triples of Cows"],
["1356", "2023 December", "Cowntact Tracing"],
["1357", "2023 December", "A Graph Problem"],
["1358", "2023 December", "Train Scheduling"]
["1358", "2023 December", "Train Scheduling"],
["1380", "2024 January", "Island Vacation"],
["1381", "2024 January", "Merging Cells"],
["1382", "2024 January", "Mooball Teams III"]
]
}
14 changes: 13 additions & 1 deletion src/components/markdown/ProblemsList/DivisionList/id_to_sol.json
Original file line number Diff line number Diff line change
Expand Up @@ -597,5 +597,17 @@
"1355": "sol_prob3_gold_dec23.html",
"1356": "sol_prob1_platinum_dec23.html",
"1357": "sol_prob2_platinum_dec23.html",
"1358": "sol_prob3_platinum_dec23.html"
"1358": "sol_prob3_platinum_dec23.html",
"1371": "sol_prob1_bronze_jan24.html",
"1372": "sol_prob2_bronze_jan24.html",
"1373": "sol_prob3_bronze_jan24.html",
"1374": "sol_prob1_silver_jan24.html",
"1375": "sol_prob2_silver_jan24.html",
"1376": "sol_prob3_silver_jan24.html",
"1377": "sol_prob1_gold_jan24.html",
"1378": "sol_prob2_gold_jan24.html",
"1379": "sol_prob3_gold_jan24.html",
"1380": "sol_prob1_platinum_jan24.html",
"1381": "sol_prob2_platinum_jan24.html",
"1382": "sol_prob3_platinum_jan24.html"
}

0 comments on commit a8432c2

Please sign in to comment.