<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.3">Jekyll</generator><link href="https://bqi343.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://bqi343.github.io/" rel="alternate" type="text/html" /><updated>2023-02-05T19:46:33+00:00</updated><id>https://bqi343.github.io/feed.xml</id><title type="html">Benjamin Qi’s Website</title><subtitle>TODO</subtitle><author><name>Benjamin Qi</name></author><entry><title type="html">Problemsetting for the USACO</title><link href="https://bqi343.github.io/2022/12/23/usacoreqs.html" rel="alternate" type="text/html" title="Problemsetting for the USACO" /><published>2022-12-23T00:00:00+00:00</published><updated>2022-12-23T00:00:00+00:00</updated><id>https://bqi343.github.io/2022/12/23/usacoreqs</id><content type="html" xml:base="https://bqi343.github.io/2022/12/23/usacoreqs.html">&lt;p&gt;The &lt;a href=&quot;http://www.usaco.org/&quot;&gt;USA Computing Olympiad&lt;/a&gt; hosts 3-problem, 4-hour contests for high school students. Contests are offered in four divisions (Bronze, Silver, Gold, and Platinum in increasing order of difficulty), four times a year. I’ve been a problemsetter for the USACO since December 2019.&lt;/p&gt;

&lt;h2 id=&quot;problem-proposal-faqs&quot;&gt;Problem Proposal FAQs&lt;/h2&gt;

&lt;h3 id=&quot;can-i-propose-problems-for-the-usaco&quot;&gt;Can I propose problems for the USACO?&lt;/h3&gt;

&lt;p&gt;Anyone, including current USACO contestants, can propose a problem. Though if you’re a current USACO contestant, we probably won’t use your problem if it’s for the division you are currently in or the division above that.&lt;/p&gt;

&lt;h3 id=&quot;what-sorts-of-problems-can-i-propose&quot;&gt;What sorts of problems can I propose?&lt;/h3&gt;

&lt;p&gt;The &lt;a href=&quot;https://ioinformatics.org/&quot;&gt;International Olympiad in Informatics&lt;/a&gt; has three main task types: batch, output-only,
and communication (&lt;a href=&quot;https://cms.readthedocs.io/en/v1.4/Task%20types.html#standard-task-types&quot;&gt;source&lt;/a&gt;). Usually, USACO monthly contests only feature batch
tasks since those are the easiest to prepare. Check the USACO website
for examples of recent tasks, and the &lt;a href=&quot;https://usaco.guide/bronze/&quot;&gt;USACO Guide&lt;/a&gt;
for an &lt;em&gt;unofficial&lt;/em&gt; list of topics for each division.&lt;/p&gt;

&lt;h3 id=&quot;how-do-i-propose-a-problem-for-the-usaco&quot;&gt;How do I propose a problem for the USACO?&lt;/h3&gt;

&lt;p&gt;You can email me a proposal satisfying the requirements below.&lt;/p&gt;

&lt;h3 id=&quot;how-do-i-prepare-problems-for-the-usaco&quot;&gt;How do I prepare problems for the USACO?&lt;/h3&gt;

&lt;p&gt;If you are out of high school and would like to help write statements,
solutions, generators, validators, or analyses, please let me know.&lt;/p&gt;

&lt;h2 id=&quot;problem-proposal-requirements&quot;&gt;Problem Proposal Requirements&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;(Required) Problem credits&lt;/li&gt;
  &lt;li&gt;(Required) Anyone competing in USACO who has seen the problem and their divisions&lt;/li&gt;
  &lt;li&gt;(Required) Expected division and difficulty&lt;/li&gt;
  &lt;li&gt;(Required) A clear problem statement, preferably shared via Google Docs. &lt;a href=&quot;https://hackmd.io/&quot;&gt;HackMD&lt;/a&gt; works too, if you prefer markdown.&lt;/li&gt;
  &lt;li&gt;(Required) Constraints on the input&lt;/li&gt;
  &lt;li&gt;(Required) Sketch of the model solution&lt;/li&gt;
  &lt;li&gt;(Preferred) At least one sample case and an explanation&lt;/li&gt;
  &lt;li&gt;(Preferred) Code for the model solution&lt;/li&gt;
  &lt;li&gt;(Preferred) Input and output format&lt;/li&gt;
  &lt;li&gt;(Preferred) Scoring&lt;/li&gt;
  &lt;li&gt;(Preferred) Code for slow or wrong solutions&lt;/li&gt;
  &lt;li&gt;(Optional) Analysis (can be done after we decide to use the problem)&lt;/li&gt;
  &lt;li&gt;(Optional) Test generator&lt;/li&gt;
  &lt;li&gt;(Optional) Flavor text&lt;/li&gt;
&lt;/ul&gt;

&lt;details&gt;

&lt;summary&gt;How the Problem Statement Should be Formatted&lt;/summary&gt;

&lt;object data=&quot;/pdfs/io-speed-test.pdf&quot; type=&quot;application/pdf&quot; style=&quot;width: 100%; height: 80vh&quot;&gt; &lt;/object&gt;

Source:

&lt;pre&gt;
The input consists of two integers $M$ ($0\le M\le 1$) and $N$
($1\le N\le 10^6$), followed by a sequence of $N$ non-negative integers  each
less than $10^9+7$.

[ul]
[li]If $M=0$, output the sum of the input sequence modulo $10^9+7$.[/li]

[li]If $M=1$, output the sum of each prefix of the input sequence modulo
$10^9+7$.[/li]
[/ul]

[input]
The first line contains $M$ and $N$.

The next $N$ lines each contain an integer of the input sequence.
[/input]

[output]
As described in the statement. Print all integers separated by newlines.
[/output]

[example]

[example]

[section|SCORING:]

[ul]

[li]Inputs 3-7: $M=0$[/li]

[li]Inputs 8-12: $M=1$[/li]
[/ul]

[/section]
&lt;/pre&gt;

&lt;/details&gt;

&lt;h3 id=&quot;common-mistakes-to-avoid&quot;&gt;Common mistakes to avoid&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;Typos&lt;/li&gt;
  &lt;li&gt;Including flavor text that makes the problem more difficult to understand.&lt;/li&gt;
  &lt;li&gt;Making the problem statement ambiguous enough to admit multiple possible interpretations and providing a sample case that doesn’t distinguish between them.&lt;/li&gt;
  &lt;li&gt;Forgetting to include constraints on the input.&lt;/li&gt;
  &lt;li&gt;\(\LaTeX\) mistakes:
    &lt;ul&gt;
      &lt;li&gt;Forgetting to enclose math in $…$.&lt;/li&gt;
      &lt;li&gt;Not including a backslash before operators such as $min$.&lt;/li&gt;
      &lt;li&gt;Not using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;\left(&lt;/code&gt;, &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;\right)&lt;/code&gt; when larger parentheses are needed.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Making every sentence its own paragraph or condensing too many sentences into a single paragraph.
    &lt;ul&gt;
      &lt;li&gt;When in doubt, follow the format of past USACO problems (&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1236&quot;&gt;example&lt;/a&gt;).&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Not being able to prove that the model solution works.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;how-to-come-up-with-problem-ideas&quot;&gt;How to come up with problem ideas&lt;/h2&gt;

&lt;p&gt;You can find articles about problemsetting at the end of the &lt;a href=&quot;https://codeforces.com/catalog&quot;&gt;Codeforces catalog&lt;/a&gt;. In particular, I think methods 2, 3, 5, and 6 from &lt;a href=&quot;https://www.topcoder.com/blog/how-to-come-up-with-problem-ideas/&quot;&gt;this blog&lt;/a&gt; are all good ways to generate problems.&lt;/p&gt;

&lt;p&gt;Here are some methods that have worked reliably for me:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;del&gt;Copy&lt;/del&gt; Take inspiration from a past problem.
    &lt;ul&gt;
      &lt;li&gt;I didn’t come close to solving &lt;a href=&quot;https://codeforces.com/contest/1392/problem/I&quot;&gt;this problem&lt;/a&gt; in-contest, but I came up with &lt;a href=&quot;https://codeforces.com/contest/1548/problem/E&quot;&gt;Gregor and the Two Painters&lt;/a&gt; as a result.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1114&quot;&gt;Modern Art 3&lt;/a&gt; arose naturally from &lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=743&quot;&gt;Modern Art 2&lt;/a&gt;.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Take inspiration from classes.
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1141&quot;&gt;Routing Schemes&lt;/a&gt; was based on MIT 6.856: Randomized Algorithms.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1234&quot;&gt;Pair Programming&lt;/a&gt; was based on MIT 6.172: Software Performance Engineering.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1165&quot;&gt;Paired Up&lt;/a&gt; was based on MIT 21M.387: Fundamentals of Music Processing.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;Count \(x\) of \(y\) satisfying \(z\) property.
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1063&quot;&gt;Rectangular Pasture&lt;/a&gt;, &lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1067&quot;&gt;Square Pasture&lt;/a&gt;, &lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1142&quot;&gt;Balanced Subsets&lt;/a&gt;: count subsets of grid cells satisfying some property.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1021&quot;&gt;Equilateral Triangles&lt;/a&gt;: count triples of grid cells satisfying some property.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1140&quot;&gt;United Cows of Farmer John&lt;/a&gt;: count triples of array elements satisfying some property.&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1070&quot;&gt;Cowmistry&lt;/a&gt;: count triples of integers satisfying some property.&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;!--  - (Unintentionally) copy a past problem.
   - [Equilateral Triangles](http://www.usaco.org/index.php?page=viewproblem2&amp;cpid=1021) turned out to be identical to [this problem](https://atcoder.jp/contests/tenka1-2018/tasks/tenka1_2018_e). Sorry, making original problems isn't always easy ... --&gt;</content><author><name>Benjamin Qi</name></author><summary type="html">The USA Computing Olympiad hosts 3-problem, 4-hour contests for high school students. Contests are offered in four divisions (Bronze, Silver, Gold, and Platinum in increasing order of difficulty), four times a year. I’ve been a problemsetter for the USACO since December 2019.</summary></entry><entry><title type="html">My Competitive Programming Problems</title><link href="https://bqi343.github.io/2022/12/22/problemsetting.html" rel="alternate" type="text/html" title="My Competitive Programming Problems" /><published>2022-12-22T00:00:00+00:00</published><updated>2022-12-22T00:00:00+00:00</updated><id>https://bqi343.github.io/2022/12/22/problemsetting</id><content type="html" xml:base="https://bqi343.github.io/2022/12/22/problemsetting.html">&lt;p&gt;All the competitive programming problems I’ve (co)authored as of December 2022, excluding USACO Camp. More on the way …&lt;/p&gt;

&lt;h2 id=&quot;usa-computing-olympiad&quot;&gt;&lt;a href=&quot;http://www.usaco.org/&quot;&gt;USA Computing Olympiad&lt;/a&gt;&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Total:&lt;/strong&gt; 67&lt;/p&gt;

&lt;p&gt;See &lt;a href=&quot;/2022/12/23/usacoreqs.html&quot;&gt;this page&lt;/a&gt; if you’re interested in problemsetting for the USACO.&lt;/p&gt;

&lt;h3 id=&quot;bronze&quot;&gt;Bronze&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Total:&lt;/strong&gt; 6&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=988&quot;&gt;2020 January: Photoshoot&lt;/a&gt; (Benjamin Qi and Chris Zhang)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1059&quot;&gt;2020 December: Do You Know Your ABCs?&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1108&quot;&gt;2021 February: Comfortable Cows&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1133&quot;&gt;2021 US Open: Acowdemia III&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1204&quot;&gt;2022 February: Photoshoot 2&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1253&quot;&gt;2022 December: Reverse Engineering&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;silver&quot;&gt;Silver&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Total:&lt;/strong&gt; 9&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=967&quot;&gt;2019 December: Meetings&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1063&quot;&gt;2020 December: Rectangular Pasture&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1110&quot;&gt;2021 February: Comfortable Cows&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1135&quot;&gt;2021 US Open: Do You Know Your ABCs?&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1160&quot;&gt;2021 December: Convoluted Intervals&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1206&quot;&gt;2022 February: Redistributing Gifts&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1230&quot;&gt;2022 US Open: Visits&lt;/a&gt; (Benjamin Qi and Michael Cao)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1278&quot;&gt;2023 January: Find and Replace&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1279&quot;&gt;2023 January: Following Directions&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;gold&quot;&gt;Gold&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Total:&lt;/strong&gt; 23&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1018&quot;&gt;2020 February: Help Yourself&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1042&quot;&gt;2020 US Open: Favorite Colors&lt;/a&gt; (William Lin and Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1043&quot;&gt;2020 US Open: Exercise&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1065&quot;&gt;2020 December: Replication&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1066&quot;&gt;2020 December: Bovine Genetics&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1067&quot;&gt;2020 December: Square Pasture&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1113&quot;&gt;2021 February: Stone Game&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1114&quot;&gt;2021 February: Modern Art 3&lt;/a&gt; (Brian Dean and Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1115&quot;&gt;2021 February: Count the Cows&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1137&quot;&gt;2021 US Open: United Cows of Farmer John&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1138&quot;&gt;2021 US Open: Portals&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1139&quot;&gt;2021 US Open: Permutation&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1161&quot;&gt;2021 December: Paired Up&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1185&quot;&gt;2022 January: Drought&lt;/a&gt; (Arpan Banerjee and Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1186&quot;&gt;2022 January: Farm Updates&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1209&quot;&gt;2022 February: Redistributing Gifts&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1210&quot;&gt;2022 February: Cow Camp&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1233&quot;&gt;2022 US Open: Apple Catching&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1234&quot;&gt;2022 US Open: Pair Programming&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1259&quot;&gt;2022 December: Strongest Friendship Group&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1281&quot;&gt;2023 January: Find and Replace&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1282&quot;&gt;2023 January: Lights Off&lt;/a&gt; (William Yue, Eric Yang, and Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1283&quot;&gt;2023 January: Moo Route&lt;/a&gt; (Brandon Wang, Claire Zhang, and Benjamin Qi)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;platinum&quot;&gt;Platinum&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Total:&lt;/strong&gt; 29&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=972&quot;&gt;2019 December: Greedy Pie Eaters&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=973&quot;&gt;2019 December: Bessie’s Snow Cow&lt;/a&gt; (Michael Cao and Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=997&quot;&gt;2020 January: Non-Decreasing Subsequences&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1021&quot;&gt;2020 February: Equilateral Triangles&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1022&quot;&gt;2020 February: Help Yourself&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1044&quot;&gt;2020 US Open: Sprinklers 2: Return of the Alfalfa&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1045&quot;&gt;2020 US Open: Exercise&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1069&quot;&gt;2020 December: Spaceship&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1070&quot;&gt;2020 December: Cowmistry&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1092&quot;&gt;2021 January: Sum of Distances&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1093&quot;&gt;2021 January: Minimum Cost Paths&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1116&quot;&gt;2021 February: No Time to Dry&lt;/a&gt; (Andi Qu, Brian Dean, and Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1117&quot;&gt;2021 February: Minimizing Edges&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1118&quot;&gt;2021 February: Counting Graphs&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1140&quot;&gt;2021 US Open: United Cows of Farmer John&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1141&quot;&gt;2021 US Open: Routing Schemes&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1142&quot;&gt;2021 US Open: Balanced Subsets&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1164&quot;&gt;2021 December: Tickets&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1165&quot;&gt;2021 December: Paired Up&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1188&quot;&gt;2022 January: Minimizing Haybales&lt;/a&gt; (Daniel Zhang and Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1190&quot;&gt;2022 January: Multiple Choice Test&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1213&quot;&gt;2022 February: Sleeping in Class&lt;/a&gt; (Jesse Choe and Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1236&quot;&gt;2022 US Open: 262144 Revisited&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1260&quot;&gt;2022 December: Breakdown&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1261&quot;&gt;2022 December: Making Friends&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1262&quot;&gt;2022 December: Palindromes&lt;/a&gt; (Mythreya Dharani and Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1284&quot;&gt;2023 January: Tractor Paths&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1285&quot;&gt;2023 January: Mana Collection&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;http://www.usaco.org/index.php?page=viewproblem2&amp;amp;cpid=1286&quot;&gt;2023 January: Subtree Activation&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;other&quot;&gt;Other&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Total:&lt;/strong&gt; 2&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://stats.egoi.org/media/task_description/2021_lantern_en.pdf&quot;&gt;European Girls’ Olympiad in Informatics 2021: Lanterns&lt;/a&gt; (Benjamin Qi, Richard Qi, and Siyong Huang)&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://codeforces.com/contest/1548/problem/E&quot;&gt;Codeforces Round 736 Div 1 E: Gregor and the Two Painters&lt;/a&gt; (Benjamin Qi)&lt;/li&gt;
&lt;/ul&gt;</content><author><name>Benjamin Qi</name></author><summary type="html">All the competitive programming problems I’ve (co)authored as of December 2022, excluding USACO Camp. More on the way …</summary></entry></feed>