Skip to content

Commit

Permalink
Merge pull request #4066 from SansPapyrus683/master
Browse files Browse the repository at this point in the history
dmoj problem labels?
  • Loading branch information
SansPapyrus683 authored Dec 6, 2023
2 parents 8e76cf5 + c5c6abf commit 497042c
Show file tree
Hide file tree
Showing 30 changed files with 56 additions and 55 deletions.
2 changes: 1 addition & 1 deletion content/2_Bronze/Conclusion.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"uniqueId": "dmoj-spirale",
"name": "Spirale",
"url": "https://dmoj.ca/problem/coci17c5p2",
"source": "DMOJ",
"source": "COCI",
"difficulty": "Hard",
"isStarred": false,
"tags": ["Complete Search"],
Expand Down
4 changes: 2 additions & 2 deletions content/3_Silver/Graph_Traversal.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@
}
},
{
"uniqueId": "dmoj-rank",
"uniqueId": "acsl-rank",
"name": "Rank",
"url": "https://dmoj.ca/problem/acsl1p4",
"source": "DMOJ",
"source": "ACSL",
"difficulty": "Easy",
"isStarred": false,
"tags": ["DFS"],
Expand Down
2 changes: 1 addition & 1 deletion content/4_Gold/Combinatorics.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"uniqueId": "dmoj-bots",
"name": "Bots",
"url": "https://dmoj.ca/problem/bbc08h",
"source": "DMOJ",
"source": "Bubble Cup",
"difficulty": "Normal",
"isStarred": false,
"tags": ["Combinatorics"],
Expand Down
4 changes: 2 additions & 2 deletions content/4_Gold/Intro_DP.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@
}
},
{
"uniqueId": "dmoj-phidias",
"uniqueId": "ioi-phidias",
"name": "Phidias",
"url": "https://dmoj.ca/problem/ioi04p4",
"source": "DMOJ",
"source": "IOI",
"difficulty": "Normal",
"isStarred": false,
"tags": ["DP"],
Expand Down
2 changes: 1 addition & 1 deletion content/4_Gold/Shortest_Paths.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
},
{
"uniqueId": "apio-11-FindThePath",
"name": "2011 - Find the Path",
"name": "Find the Path",
"url": "https://dmoj.ca/problem/apio11p2",
"source": "APIO",
"difficulty": "Hard",
Expand Down
4 changes: 2 additions & 2 deletions content/4_Gold/Tree_Euler.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,10 +209,10 @@
}
},
{
"uniqueId": "dmoj-VictorTakesOverCanada",
"uniqueId": "dmopc-victortakesovercanada",
"name": "Victor Takes Over Canada",
"url": "https://dmoj.ca/problem/dmopc20c1p5",
"source": "DMOJ",
"source": "DMOPC",
"difficulty": "Very Hard",
"isStarred": false,
"tags": ["Euler Tour", "PURS"],
Expand Down
8 changes: 4 additions & 4 deletions content/5_Plat/2DRQ.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
],
"bit": [
{
"uniqueId": "dmoj-CrowdedCities",
"uniqueId": "bfs-crowdedcities",
"name": "Crowded Cities",
"url": "https://dmoj.ca/problem/bfs17p6",
"source": "DMOJ",
"source": "Back From Summer",
"difficulty": "Normal",
"isStarred": false,
"tags": ["2DRQ", "BIT"],
Expand All @@ -45,10 +45,10 @@
],
"offSam": [
{
"uniqueId": "dmoj-SoriyasProgrammingProject",
"uniqueId": "dmopc-SoriyasProgrammingProject",
"name": "Soriya's Programming Project",
"url": "https://dmoj.ca/problem/dmopc19c7p5",
"source": "DMOJ",
"source": "DMOPC",
"difficulty": "Normal",
"isStarred": false,
"tags": ["D&C", "2DRQ", "BIT"],
Expand Down
4 changes: 2 additions & 2 deletions content/5_Plat/Binary_Jump.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -339,10 +339,10 @@
}
},
{
"uniqueId": "dmoj-HotCold",
"uniqueId": "bts-hotcold",
"name": "Hot & Cold",
"url": "https://dmoj.ca/problem/bts17p7",
"source": "DMOJ",
"source": "Back to School",
"difficulty": "Normal",
"isStarred": false,
"tags": ["LCA"],
Expand Down
8 changes: 4 additions & 4 deletions content/5_Plat/Centroid.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@
}
},
{
"uniqueId": "dmoj-BobEquilibrium",
"uniqueId": "dmopc-BobEquilibrium",
"name": "Bob Equilibrium",
"url": "https://dmoj.ca/problem/dmopc19c7p6",
"source": "DMOJ",
"source": "DMOPC",
"difficulty": "Hard",
"isStarred": false,
"tags": ["Centroid"],
Expand All @@ -195,10 +195,10 @@
}
},
{
"uniqueId": "dmoj-TimeTravellerImaxblue",
"uniqueId": "triway-cup-TimeTravellerImaxblue",
"name": "Time Traveller Imaxblue",
"url": "https://dmoj.ca/problem/tc19summerh",
"source": "DMOJ",
"source": "Triway Cup",
"difficulty": "Hard",
"isStarred": false,
"tags": ["Centroid"],
Expand Down
4 changes: 2 additions & 2 deletions content/5_Plat/DC-SRQ.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@
}
},
{
"uniqueId": "dmoj-ContinuedFractions",
"uniqueId": "dmopc-ContinuedFractions",
"name": "Continued Fractions",
"url": "https://dmoj.ca/problem/dmopc19c7p4",
"source": "DMOJ",
"source": "DMOPC",
"difficulty": "Normal",
"isStarred": false,
"tags": [],
Expand Down
4 changes: 2 additions & 2 deletions content/5_Plat/RURQ.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,10 @@
}
},
{
"uniqueId": "dmoj-VictorIdentifiesSoftware",
"uniqueId": "dmopc-VictorIdentifiesSoftware",
"name": "Victor Identifies Software",
"url": "https://dmoj.ca/problem/dmopc20c1p6",
"source": "DMOJ",
"source": "DMOPC",
"difficulty": "Very Hard",
"isStarred": false,
"tags": ["Lazy SegTree"],
Expand Down
8 changes: 4 additions & 4 deletions content/5_Plat/Sqrt.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@
}
},
{
"uniqueId": "dmoj-FluidDynamics",
"uniqueId": "dmopc-FluidDynamics",
"name": "Fluid Dynamics",
"url": "https://dmoj.ca/problem/dmopc19c7p7",
"source": "DMOJ",
"source": "DMOPC",
"difficulty": "Very Hard",
"isStarred": false,
"tags": ["Sqrt"],
Expand All @@ -167,10 +167,10 @@
}
},
{
"uniqueId": "dmoj-ArithmeticSubtrees",
"uniqueId": "wac-ArithmeticSubtrees",
"name": "Arithmetic Subtrees",
"url": "https://dmoj.ca/problem/wac1p7",
"source": "DMOJ",
"source": "Wesley's Anger Contest",
"difficulty": "Very Hard",
"isStarred": false,
"tags": ["Sqrt"],
Expand Down
4 changes: 2 additions & 2 deletions content/6_Advanced/BCC_2CC.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@
}
},
{
"uniqueId": "dmoj-investment",
"uniqueId": "tle-investment",
"name": "Investment",
"url": "https://dmoj.ca/problem/tle17c1p6",
"source": "DMOJ",
"source": "TLE",
"difficulty": "Hard",
"isStarred": false,
"tags": ["BCC"],
Expand Down
6 changes: 3 additions & 3 deletions content/6_Advanced/Comb_Sub.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@
}
},
{
"uniqueId": "dmoj-COCIPeriodni",
"name": "COCI - Periodni",
"uniqueId": "coci-periodni",
"name": "Periodni",
"url": "https://dmoj.ca/problem/coci08c4p6",
"source": "DMOJ",
"source": "COCI",
"difficulty": "Hard",
"isStarred": false,
"tags": ["NT"],
Expand Down
4 changes: 2 additions & 2 deletions content/6_Advanced/FFT.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@
}
},
{
"uniqueId": "dmoj-BigInteger",
"uniqueId": "bts-BigInteger",
"name": "Big Integer",
"url": "https://dmoj.ca/problem/bts17p8",
"source": "DMOJ",
"source": "Back to School",
"difficulty": "Very Hard",
"isStarred": false,
"tags": ["Centroid", "FFT"],
Expand Down
4 changes: 2 additions & 2 deletions content/6_Advanced/Flow_LB.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"MODULE_ID": "flow-lb",
"hungry": [
{
"uniqueId": "dmoj-HungrySquirrels",
"uniqueId": "wac-HungrySquirrels",
"name": "Hungry Squirrels",
"url": "https://dmoj.ca/problem/wac4p6",
"source": "DMOJ",
"source": "Wesley's Anger Contest",
"difficulty": "Normal",
"isStarred": false,
"tags": [],
Expand Down
4 changes: 2 additions & 2 deletions content/6_Advanced/LCT.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@
}
},
{
"uniqueId": "dmoj-SquirrelCities",
"uniqueId": "wac-SquirrelCities",
"name": "Squirrel Cities",
"url": "https://dmoj.ca/problem/wac4p7",
"source": "DMOJ",
"source": "Wesley's Anger Contest",
"difficulty": "Normal",
"isStarred": false,
"tags": ["LCT"],
Expand Down
4 changes: 2 additions & 2 deletions content/6_Advanced/Offline_Del.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
}
},
{
"uniqueId": "dmoj-inaho",
"uniqueId": "mmcc-inaho",
"name": "Inaho",
"url": "https://dmoj.ca/problem/mmcc15p1",
"source": "DMOJ",
"source": "MMCC",
"difficulty": "Easy",
"isStarred": false,
"tags": ["DSUrb"],
Expand Down
4 changes: 2 additions & 2 deletions content/6_Advanced/Persistent.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@
],
"heap": [
{
"uniqueId": "dmoj-TimeTravellingSquirrels",
"uniqueId": "wac-TimeTravellingSquirrels",
"name": "Time Travelling Squirrels",
"url": "https://dmoj.ca/problem/wac4p5",
"source": "DMOJ",
"source": "Wesley's Anger Contest",
"difficulty": "Very Hard",
"isStarred": false,
"tags": null,
Expand Down
4 changes: 2 additions & 2 deletions content/6_Advanced/String_Search.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -456,10 +456,10 @@
}
},
{
"uniqueId": "dmoj-momoka",
"uniqueId": "mmcc-momoka",
"name": "Momoka",
"url": "https://dmoj.ca/problem/mmcc15p3",
"source": "DMOJ",
"source": "MMCC",
"difficulty": "Very Hard",
"isStarred": false,
"tags": [],
Expand Down
2 changes: 1 addition & 1 deletion content/6_Advanced/Wavelet.problems.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"uniqueId": "dmoj-NinjaclashersWrath2",
"name": "Ninjaclasher's Wrath 2",
"url": "https://dmoj.ca/problem/globexcup19s4",
"source": "DMOJ",
"source": "GlobeX Cup",
"difficulty": "Very Hard",
"isStarred": false,
"tags": ["Wavelet"],
Expand Down
2 changes: 1 addition & 1 deletion content/extraProblems.json
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@
"uniqueId": "cco-EscapeRoom",
"name": "Escape Room",
"url": "https://dmoj.ca/problem/ccc20s2",
"source": "CCO",
"source": "CCC",
"difficulty": "Normal",
"isStarred": false,
"tags": ["Flood Fill"],
Expand Down
2 changes: 1 addition & 1 deletion solutions/advanced/dmoj-COCIPeriodni.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: dmoj-COCIPeriodni
id: coci-periodni
source: COCI 08
title: Periodni
author: Benjamin Qi
Expand Down
2 changes: 1 addition & 1 deletion solutions/gold/dmoj-Phidias.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: dmoj-phidias
id: ioi-phidias
source: DMOJ
title: Phidias
author: Jesse Choe, Sofia Yang
Expand Down
2 changes: 1 addition & 1 deletion solutions/platinum/dmoj-BobEquilibrium.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: dmoj-BobEquilibrium
id: dmopc-BobEquilibrium
source: DMOJ
title: Bob Equilibrium
author: Benjamin Qi
Expand Down
2 changes: 1 addition & 1 deletion solutions/platinum/dmoj-FluidDynamics.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: dmoj-FluidDynamics
id: dmopc-FluidDynamics
source: DMOJ
title: Fluid Dynamics
author: Benjamin Qi
Expand Down
2 changes: 1 addition & 1 deletion solutions/platinum/dmoj-TimeTravellerImaxblue.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: dmoj-TimeTravellerImaxblue
id: triway-cup-TimeTravellerImaxblue
source: DMOJ
title: Time Traveller Imaxblue
author: Benjamin Qi
Expand Down
2 changes: 1 addition & 1 deletion solutions/silver/dmoj-rank.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
id: dmoj-rank
id: acsl-rank
source: DMOJ
title: Rank
author: Ryan Chou, Ryan Kim
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ export default {
'http://www.usaco.org/index.php?page=viewproblem2&cpid=838': 'usaco-838',
'https://cses.fi/problemset/task/1757': 'cses-1757',
'https://cses.fi/problemset/task/1739': 'cses-1739',
'https://dmoj.ca/problem/bfs17p6': 'dmoj-CrowdedCities',
'https://dmoj.ca/problem/bfs17p6': 'bfs-crowdedcities',
'https://oj.uz/problem/view/IOI07_pairs': 'ioi-07-pairs',
'https://dmoj.ca/problem/dmopc19c7p5': 'dmoj-SoriyasProgrammingProject',
'http://www.usaco.org/index.php?page=viewproblem2&cpid=722': 'usaco-722',
Expand Down Expand Up @@ -945,7 +945,7 @@ export default {
'https://csacademy.com/contest/archive/task/root-lca-queries':
'csa-RootLCAQueries',
'https://codeforces.com/contest/1000/problem/G': 'cf-1000G',
'https://dmoj.ca/problem/bts17p7': 'dmoj-HotCold',
'https://dmoj.ca/problem/bts17p7': 'bts-hotcold',
'https://tlx.toki.id/contests/troc-12-div-1/problems/D':
'tlx-FunctionalConstraint',
'https://tlx.toki.id/contests/troc-13-div-1/problems/E':
Expand Down Expand Up @@ -992,5 +992,5 @@ export default {
'https://cses.fi/problemset/task/1137': 'cses-1137',
'https://judge.yosupo.jp/problem/staticrmq': 'ys-StaticRMQ',
'https://cses.fi/problemset/task/1138': 'cses-1138',
'https://dmoj.ca/problem/dmopc20c1p5': 'dmoj-VictorTakesOverCanada',
'https://dmoj.ca/problem/dmopc20c1p5': 'dmopc-victortakesovercanada',
};
1 change: 1 addition & 0 deletions src/models/problem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export const probSources = {
export const olympiads = {
CCC: ['DMOJ', 'Canadian Computing Competition'],
CCO: ['DMOJ', 'Canadian Computing Olympiad'],
DMOPC: ['DMOJ', 'DMOJ Monthly Open Programming Competition'],
APIO: ['oj.uz', 'Asia-Pacific Informatics Olympiad'],
'Baltic OI': ['oj.uz', 'Baltic Olympiad in Informatics'],
CEOI: ['oj.uz', 'Central European Olympiad in Informatics'],
Expand Down

0 comments on commit 497042c

Please sign in to comment.