r/codeforces • • Mar 02 '26

meme Qinshi Wang is the legend you've never heard of

Post image
1.1k Upvotes

In 2016 a problem called "Aliens" appeared at the IOI - the world championships of competitive programming. Out of the 300+ people who competed in this two-day tournament, only one scored full points on this question.

"Aliens" became so famous that the technique used to solve it became known as the "alien trick". It's a form of lagrangian relaxation and binary search, which drops a complexity factor on hard dynamic programming questions. It took me 4 hours to understand this weekend.

Except "alien trick" was not new. It had been discovered 4 years earlier. Qinshi Wang published a paper about it in 2012 when he was 17. In China, it was known as "WQS binary search", named after his initials.

Here's some problems you can solve with WQS binary search:

https://cses.fi/problemset/task/2087/ https://leetcode.com/problems/minimum-partition-score/description/ https://codeforces.com/contest/321/problem/E https://cses.fi/problemset/task/2087/


r/codeforces • • Sep 17 '26

meme only quant trader Jane street hired from India this year (the other 3 are SDEs)

Post image
985 Upvotes

Crazy guy!! LGM for a reason


r/codeforces • • Feb 25 '26

meme Two types of “I love coding” people

Post image
687 Upvotes

r/codeforces • • Jan 06 '26

cheater expose I feel embarrassed as an Indian

Post image
657 Upvotes

For context I am working in Europe, and there was some discussion related to competitive programming

I was asked why there are not a lot of GM and LGM, and I was like yea but recently Shreyan Ray (dominater069) from one of best colleges in india became LGM

The response I got made me embarrassed. They were like cool but are you sure he’s not cheating? Because another GM arnabmanna, India’s first GM who got caught cheating.

Can we please stop cheating. India’s reputation is never coming back up again like this 🙏🏻

Edit: People DM’ing me about AIR 76, AIR 198… (so on) in JEE advanced who were caught cheating is very shocking. We really need to introspect as a society

Also to people asking for proof in DM that I am Indian, Mere papa India hai ❤️


r/codeforces • • Feb 21 '26

meme Hackers

Post image
645 Upvotes

now hackers are giving announcements, lol


r/codeforces • • Oct 21 '25

meme Trees

Post image
609 Upvotes

r/codeforces • • Aug 17 '26

Div. 2 Finally a good contest.

Post image
592 Upvotes

Solved 4 questions in today's contest as always, 3 questions under 55 mins and the other one alone took 45 mins to solve .

Hoping for the expert 💙( curr rating == 1550) , let's see what will happen .

Yessss it's expert now 💙


r/codeforces • • Dec 30 '25

meme Indian gurls shining in the world of codeforces 🥶🙌🏻

Post image
565 Upvotes

Those who know 🥀


r/codeforces • • May 02 '25

query TLE Eliminators review. TUF+ review. AlgoZenith review.

Post image
513 Upvotes

Title is designed so that people looking for those will see this post. Very useful post for indians doing cp. Found on codeforces.


r/codeforces • • Jun 14 '26

meme Elite ball required

Post image
458 Upvotes

r/codeforces • • Jun 21 '26

meme Cyan Slander

Post image
434 Upvotes

r/codeforces • • May 29 '26

meme tf is this graph lmao

Post image
431 Upvotes

r/codeforces • • Sep 26 '25

meme Finally Reached Pupil!!!

Post image
413 Upvotes

r/codeforces • • Jun 21 '25

meme Today's Cheating Fiasco

412 Upvotes

The cheater influx on Codeforces has severely increased after the release of next-gen AI models, but today it crossed all limits, literally no LGMs in the top 20 global standings??. And a majority of the cheaters are INDIANS. This is attracting hate towards Indians on the platform, and sadly, there’s no real counter to it, as it’s largely true that the majority of cheaters are, in fact, Indians.

So if any fellow Indian friends are reading this post who have tried to cheat at any point in time, kindly refrain from such practices. You are not only bringing shame upon yourself but also upon your country. Step back and think about this.


r/codeforces • • Feb 19 '26

meme Efficient algorithm

Post image
394 Upvotes

r/codeforces • • Sep 25 '26

Div. 2 I AM FINALLY SPECIALIST, it took me whole 8 months

Post image
386 Upvotes

Next goal : 1550 before INOI ( Its realistic, right? )


r/codeforces • • Dec 24 '24

meme Hacked my code 🥲🥲

Post image
339 Upvotes

Heeelllo guys i have been trying to become pupil at codeforces from a long time and iam unable to become , so when I perform outstanding like getting 2k below rank or so people hack my solution and push me down why they have to do this u know ? What are they getting by hacking a newbie’s solution 🥲🥲 . In today educational round 173 i have solved a,b,d and they hacked my d solution.


r/codeforces • • Oct 08 '26

query India #1 account is cheating right?

Post image
338 Upvotes

Do you think this is possible? Why doesn't the platform ban this acc? Ranked #1 in India btw.


r/codeforces • • Jun 07 '26

query Resources for DP

Post image
337 Upvotes

Hello guys I am cse undergrad and currently I am a specialist on cf but I can't able to solve dynamic programming questions.

Pls tell me some resources to practice or anything.

I want to master dp in the upcoming 1-2 months.


r/codeforces • • Dec 18 '25

query Worried

Thumbnail
gallery
327 Upvotes

Saw this post and a comment on LinkedIn and being in my First year I am really worried. My motivation for doing CP is constantly decreasing. Nowadays everyone is an Expert or CM by cheating and in next 2-3 years everyone will be a Master. Is there any way to stop cheating in the Online contests ?


r/codeforces • • Jan 22 '26

query Python LGM!!!

Post image
325 Upvotes

Found out about this account right now called "conqueror_of_tourist" (not me haha I'm like 1200-something)

they use python and are currently rated 2928 (almost LGM, and they've been LGM many times!)


r/codeforces • • Oct 10 '25

Div. 2 Today's Div 2 contest author 🫡

Post image
320 Upvotes

O boy! Here is Little_Sheep_Yawn the author of today's contest!! Sheer consistency and top level dedication ...but strange to see blud gave his last contest 3 year before however hatsoff to his efforts for past 2 year


r/codeforces • • Aug 18 '26

Div. 2 Gentlemen, it is with great pleasure that I announce I have finally become a pupil.

Thumbnail
gallery
317 Upvotes

Time to change my flair from newbie to pupil ;)


r/codeforces • • Oct 24 '25

meme Todays div2 contest

Post image
317 Upvotes

I think I need to practice some 1100 problems properly before jumping into div 2 Contest..


r/codeforces • • Sep 04 '26

query Reached Maters on CF

Post image
315 Upvotes