Fading Coder

One Final Commit for the Last Sprint

Codeforces Round #844 (Div. 1 + Div. 2, based on VK Cup 2022 - Elimination Round) Summary

After everyone else in the computer lab had many orange-rated handles, I finally achieved orange with my main account (apparently, I'm still quite weak). I'll write a blog post to record the experience. My counting skills are very poor. In the last 5 minutes of the contest, I hastily came up with a...

Solving 2020 Blue Bridge Cup Java Group B Provincial Contest Problems

Problem Statement: Calculate how many digit '2's are needed to create doorplates numbered from 1 to 2020. Each digit is counted separately (e.g., doorplate 1017 contains one '0', two '1's, and one '7'). Solution: public class DigitCounter { public static void main(String[] args) { int count = 0; for...