screenager.dev

Competitive-programming

3 posts

0x55555555 is Actually Alien Code (And Other Power Problem Adventures)

What started as a simple Power of Four problem turned into me decoding hexadecimal mysteries and questioning everything I know about binary. Spoiler: bits are weirder than you think.

C++ Lambdas Have Trust Issues

A quick LeetCode solution taught me why C++ lambda return type deduction is pickier than I thought.

Inside the Codeforces Ladder & User API System

A detailed overview of the algorithms and mathematical reasoning behind our Codeforces ladder and user APIs.