**814 problems solved**

**Rank by points:**#192

**Total points:**489

**11 contests written**

**Rank by rating:**#509

**Rating:**1924

**Min. rating:**1204

**Max rating:**1924

**From**
Milliken Mills H.S., Olympiads School, Mahou Shoujou, Codeforces, UCC Coding Competition 2021, SAC Code Challenges

#### About

^wish my rating could be this high 😮

started programming competitively on July 4, 2020

temporarily retired due to school (ib workload rolling through ♿)

discord: `ThingExplainer#3793`

codeforces: https://codeforces.com/profile/br0mabs

olympiads school comp contest lvl ~~1~~ ~~2~~ ~~3~~ ~~4~~ retired kid

can't do dynamic programming to save my life 😔

ki ki ki, kimi no koto, WA WA WA TLE TLE TLE 😤

imagine fast submissions this meme was made by slow ass java user 😒 (Not to be anymore since i'm switching to C++ 😎)

started the transition to C++ from Java. (August 5, 2020)

my main language is now C++. The transition has been completed. (August 16, 2020 - 11 days)

do homework... or do dmoj? 🤔

gotta get better at contests no more 🐒 mode allowed

246-day streak broken due to timezones :blobsob:

mainly a codeforces user now 🤓

can't win any t-shirts because i am monke

**Authored and co-authored problems: (sorted in order of points)**

- https://dmoj.ca/problem/aac2p1 (5p)
- https://dmoj.ca/problem/aac4p1 (5p)
- https://dmoj.ca/problem/aac1p3 (7p)
- https://dmoj.ca/problem/monkeybread (7p)
- https://dmoj.ca/problem/aac2p3 (10p)
- https://dmoj.ca/problem/carnivalgame (10p)
- https://dmoj.ca/problem/aac4p2 (10p)
- https://dmoj.ca/problem/aac4p4 (10p)
- https://dmoj.ca/problem/koalaball (12p)
- https://dmoj.ca/problem/aac5p4 (12p)

**My contests:**

#### CCC senior scores

2021: 50 (1 point from honour roll 😠)

2022: 36

#### Relevant Gamers (not in any particular order)

teacher: bruce ORZ

mmhs gamer: Tmaswang03 CHADMAS WANG

SHEN BOI: danbin2

omg!!!! dmoj admin!!!!: Riolku orz helping to run AAC and teaching me a lot of stuff about contest setting, waterloo cs chad

grade 12 milliken gamer: pblpbl bwars god, waterloo cs chad

tohrus: Potatoritos is my dmoj buddy

BC chad: Evang lamsiu21 NruceBan StuffExplainer this kid USACO gold first try, reached expert on codeforces, his graph is going 🚀 (go check him out) (did I mention he's in grade 9?)

grade 12 chad: samliu12 samliu11 i want to be usaco platinum and reach master like him, waterloo cs chad

computer contest lvl 3 chad: WilliamWu277 TROPICAL 🍹 BANANA 🍌

another computer contest lvl 3 chad: danielz1000 orz expert on codeforces

chadam: Encodeous

king of blues: Averesoft orz for making profile collab

YellowdiChen: YidiChen

'06 macs kid(s): AZron why the hell are you guys so good

Grade 8 agribusiness connoisseur: Tony1234 tonny le monke

ajay bjay cjay djay ejay fjay gjay hjay ijay jjay kjay ljay mjay njay ojay pjay qjay rjay: sjay05 orzjay lvl 4 chad

96 avg in gr11 ib English :orz: rexn

cylinder: b0806 minecraft pvp god and osu legend go have a look https://osu.ppy.sh/users/10964252

sqare: potato_nuggetz ctf god

football: slurp made my discord pfp

eneneneneneneners: Enners

uwu aaron-sama uwu: sovu1473

bahli bahbah: bigalthefirst1

BEESER: peterzhou561

tomorrowbrian: todaybrian carried in CMIMC optimization round and picoCTF

Pual: psun256

MMHS gamer: brien

#### Simps

ROMAN BONG: SparklMastr

#### Wab!

#### Working on

learning data structures + dynamic programming practice + graph theory practice

contest practice on codeforces

getting good at problem-solving—solving problems without help

doing lvl3 and lvl4 homework problems

#### piddddgy's suggested dp problems

~~https://codeforces.com/contest/543/problem/A~~~~https://codeforces.com/contest/269/problem/B~~~~https://codeforces.com/contest/1286/problem/A~~- https://codeforces.com/contest/580/problem/D
- https://codeforces.com/contest/1381/problem/B
- https://codeforces.com/contest/1487/problem/E
- https://codeforces.com/contest/1244/problem/D
- https://codeforces.com/contest/1391/problem/D
- https://codeforces.com/contest/448/problem/C
- https://codeforces.com/contest/518/problem/D
- https://codeforces.com/contest/645/problem/D
- https://codeforces.com/contest/1409/problem/F
- https://codeforces.com/contest/148/problem/D
- https://codeforces.com/contest/148/problem/D
- https://codeforces.com/contest/1012/problem/C
- https://codeforces.com/contest/717/problem/D

#### To finish (some day...)

- https://dmoj.ca/problem/gfssoc2j2 (test cases 3-10 wrong)
- https://dmoj.ca/problem/pathfind (tle'd and mle'd)
- https://dmoj.ca/problem/fibonacci (learn matrices first)
- https://dmoj.ca/problem/dmopc14c4p3 (tweak the program a bit idk how)

#### Goals

**DMOJ Related**

- [X] Grey
- [X] Green
- [X] Blue
- [X] Pourpel
- [X] Yellow
- [X] Yellow within a year of starting competitive programming (By July 3, 2021)
- Red
- Target

- [X] Top 1000 based on contest ranking on dmoj
- [X] Top 500 based on contest ranking on dmoj
- Top 100 based on contest ranking on dmoj

- [X] Solve 300 problems
- [X] Solve 400 problems
- [X] Solve 500 problems
- [X] Solve 600 problems
- [X] Solve 700 problems
Solve 800 problems

[X] Reach 300 weighted pp

- [X] Reach 400 weighted pp
- 500 weighted pp

- [X] Top 1000 based on points in dmoj before solving 100 problems
- [X] Top 500 based on points in dmoj
- [X] Top 400 based on points in dmoj
- [X] Top 300 based on points in dmoj
- [X] Top 200 in dmoj based on points
- Top 100 in dmoj based on points

- [X] Top 100 problems 10pp+
- Top 100 problems 15pp+

- [X] 1/3 AC rate
- [X] Consistently do 7pp problems and hard 5pp problems
- Consistently do 10pp+ problems without help
- Get consistent at solving 7pp problems (given a random problem worth 7pp, solve it in less than an hour)

**CCC Related**

- [X] Top 25% of contestants in senior (distinction)
- Senior honour roll
- Invited to CCORZ

- Silver medal in CCORZ
- Gold medal in CCORZ

**IOI Related**

- Go to IOI ?????
- Bronze in IOI
- Silver in IOI
- Gold in IOI
- Win IOI (wtf?)

**USACO Related**

- [X] USACO silver
- USACO gold
- USACO platinum

- [X] AK USACO bronze
- AK USACO silver
- AK USACO gold
- AK USACO platinum

**Codeforces Related**

- [X] Newbie on codeforces
- [X] Pupil on codeforces
- [X] Specialist on codeforces
- [X] Expert on codeforces
- Candidate master on codeforces
- Master on codeforces
- International master on codeforces
- Grandmaster on codeforces
- International grandmaster on codeforces
- Legendary grandmaster on codeforces

**Olympiads School Related**

- [X] Join olympiads computer contest lvl 1
- [X] Join olympiads computer contest lvl 2
- [X] Join olympiads computer contest lvl 3
- [X] Join olympiads computer contest lvl 4
- Join olympiads computer contest lvl 5
- Join olympiads computer contest lvl 6
- Join olympiads computer contest lvl 7

**Knowledge Related**

- [X] Learn (basic) dynamic programming
- Learn how to optimize algorithms
- [X] Learn basic graph theory (bfs, dfs, dijkstra)
- [X] Learn intermediate graph theory (kruskal, bellman-ford, topological sort, floyd-warshall, etc.)
- Learn geometry in coding
- Learn string algorithms
- [X] Learn interval dp
- [X] Learn data structures (set, map, heaps, trees, etc.)
- Learn advanced data structures (binary search trees, tries, treaps, segment trees, sparse tables, etc.)

**Miscellaneous**

- [X] Finish all the problems in the question suggestion challenge list before the end of the year (2020)
- Solve at least a problem a day, for a whole year
- [X] Eventually switch to C++
- [X] Write a contest

#### Achievements

**July 3, 2020**- acquired dmoj account**July 3, 2020**- Hello World done**July 4, 2020**- 3pp problem solved**July 4, 2020**- 5pp problem answered**July 5, 2020**- 7pp problem worked out**July 12, 2020**- 100 weighted pp**July 2020**- joined olympiads computer contest level 1**July 15, 2020**- first dp problem (https://dmoj.ca/problem/dpd) solved**July 16, 2020**- 10 pp problem completed**July 19, 2020**- first graph theory problem (https://dmoj.ca/problem/vmss7wc16c3p2) solved**July 22, 2020**- 50 problems solved**July 23, 2020**- 12pp problem accomplished**August 2, 2020**- 15pp problem perfected**August 4, 2020**- 3 digit based on points (top 1000)**August 4, 2020**- 200 weighted pp**August 5, 2020**- first C++ program**August 10, 2020**- first contest (https://dmoj.ca/contest/wac5) written**August 11, 2020**- 100 problems solved**August 11, 2020**- IM BLUE DA BA DEE DA BA DAA**September 2020**- joined olympiads computer contest level 2**September 4, 2020**- wrote my first contest on codeforces**September 18, 2020**- 200 problems solved**September 2020**- 300 weighted pp**September 2020**- joined olympiads computer contest level 3**October 28, 2020**- 17pp problem computed**November 1, 2020**- 20pp problem unraveled**November 2, 2020**- 300 problems solved**November 9, 2020**- top 100 problems 10pp+**November 10, 2020**- top 500 on dmoj based on points**November 2020**- joined olympiads computer contest level 4**December 7, 2020**- top 100 in a DMOPC contest (https://dmoj.ca/contest/dmopc20c2)**December 13, 2020**- top 400 based on points on dmoj**December 13, 2020**- 400 points**December 18, 2020**- AK'd a USACO bronze contest, promoted to silver**December 19, 2020**- 400 problems solved on dmoj**December 30, 2020**- Reached pupil on codeforces**January 17, 2021**- 30pp problem deciphered**January 25, 2021**- top 1000 on dmoj based on contest rating**January 29, 2021**- top 300 on dmoj based on points**February 1, 2021**- POURPEL**February 8, 2021**- 500 problems solved on dmoj**February 8, 2021**- top 500 on dmoj based on contest rating**February 17, 2021**- First CCC senior,`50`

points**March 2021**- The PP bubble burst, lost some points**March 6, 2021**- Reached specialist on codeforces**March 17, 2021**- Became a problem setter on dmoj!**March 22, 2021**- 600 problems solved on dmoj**April 2021**- Set my first problem on a contest (and my first problem ever)!**April 26, 2021**- Reached yellow within a year!**May 2, 2021**- top 200 on dmoj based on points**May 2021**- 700 problems solved on dmoj**June 28, 2021**- 727 problems solved on dmoj :osuhow:**July 11, 2021**- Reached expert on codeforces!

#### Templates

OP Fast IO 2 orz samliu12

##### C++

```
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#pragma GCC optimize("O3,unroll-loops")
#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt")
#define INF 0x3f3f3f3f
#define LLINF 0x3f3f3f3f3f3f3f3f
#define uset unordered_set
#define umap unordered_map
#define pb push_back
#define ms(a,b) memset(a,b,sizeof(a));
#define mp make_pair
#define fi first
#define se second
#define double long double
using namespace std;
using namespace __gnu_pbds;
typedef tree<int,null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update> oset;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef pair<double,double> pdd;
int main() {
ios_base::sync_with_stdio(0); cin.tie(0);
}
```

#### Random

https://dmoj.ca/submission/3448009 (i have the only TLE text submission lol)

https://dmoj.ca/src/3108864 (solved a problem using #define lmao)

https://dmoj.ca/problem/seed3 (problem with all downvoted comments)

https://dmoj.ca/problem/wc15c2s4 (click for a surprise)

https://dmoj.ca/submission/3454229 (funny number gets full points on piggy) (only osu players will understand this joke)

Inting and malding on meme problems? check out Tomorrow's user page

Funny problem combos:

- https://dmoj.ca/problem/treepractice1 and after raging unleash your anger on https://dmoj.ca/problem/dwite10c3p4

Did you know?

- Pressing
`Ctrl+Enter`

on the edit profile page saves your updates 😮

Show contest rating names by Plasmatic

Highlight active participants in yellow (and show start times) (credit goes to Bob661161616)

`$(document).ready(function(){$('td.user-name').map((i,td) => {if (td.children && td.children[1].innerText!=='Participation ended.') {$(td).css('background-color','#ffff00');const a=td.children[0].children[0];a.innerText=`${a.innerText} (${td.children[1].children[0].title})`;}});});`

Show hidden comments (credit goes to Potatoritos for showing me this)

`$(k=>$("a[href^='javascript:comment_show_content(']").each((i,j)=>comment_show_content(parseInt(j.href.replace(/^\D+/g,"")))));`

Show when each participant started in a contest (credit again to Potatoritos)

`$(".start-time").each(function(){this.style.display = "block";if(this.innerHTML=="Participation ended.")this.style.color="#aaa"});`

Show number of participants when on the standings page of a contest (credit to ochen1) (I can't paste the code here because imba d at formatting, go visit him)

Show anime girls 🥵

`$(".anime-img").show();`

Also used some of d's userscript