Still doing Div. 2 in 2020—great.
I will keep competing this year. I refuse to believe I cannot get there.
Personal site · London
I’m a crypto enthusiast, a long-term Bitcoin holder and I was passionate about smart contracts, Solidity auditing and competitive programming. I build and share what I learn along the way. I’m currently creating videos and sharing ideas on Twitter and YouTube.
Donations on Solana (SOL, USDC, or USDT): BduwmK79t16aJEo3s9PsSVfK5xDe3YqXrFAYqg9y5ALa
I enjoy smart contracts and Solidity auditing. You can find my work on Code4rena and Sherlock.
For code and ongoing notes, visit GitHub and my progress reports.
I also share smart-contract lectures on Bilibili.
I love competitive programming. Here are my profiles and archives:
Beijing University of Posts and Telecommunications
Bachelor’s in Computer Science · 2011–2015
Master’s in Information Security · 2015–2018
While at university, I maintained a monthly life summary on CSDN and a Chinese writing archive here.
Those posts are older, but they remain part of the record.
Notes on engineering, security, algorithms, and life.
Still doing Div. 2 in 2020—great.
I will keep competing this year. I refuse to believe I cannot get there.
Although we have already discussed many failures, the previous chapters were still too optimistic. Reality is darker. Now we maximize pessimism and assume that anything that can go wrong will go wrong.
Looking back through my old blog posts is deeply embarrassing. Much of it feels like passion without a reason, though it was still passion. At least those posts were coherent enough to read. What am I even writing now?
No moment in life is worth wasting.
This is a textbook ternary-search problem: find an extremum over an interval.
One and a half hours passed from reading this problem to writing the solution.
The first instalment of a silly plan—another plan whose second instalment may never arrive.
I am getting worse.
Written today at the age of twenty-seven. Simply write something and dedicate it to yourself.
This is a topic I have been wanting to talk about for a long time. The “we” in the title does not refer to anyone, but more often to me. Because of the epidemic, I found that everyone was unhappy in 2020. A large number of people at home and abroad were facing unemployment, economic pressure, unsatisfactory business, and various loans. In short, you can’t ask for anything, you can’t get out, you want freedom.
I have recorded quite a few problems on this blog, but my understanding of some concepts is still not strong enough, so I do not always know how to approach a new problem. This post is about problems involving cycles.