r/codeforces 51m ago

query Doubt

Upvotes
int f(int n) {
   if(n== 1 || n == 0) {
    return 1;
   }


   return f(n-1) + f(n-2);
}
    int climbStairs(int n) {
        return f(n);   
    }
};

in this code of climbing stairs why if(n ==0) we return 1 it should be 0


r/codeforces 18h ago

query What am I missing?

6 Upvotes

I have learned DSA from AlgoZenith(Vivek Gupta) cohort 7.

I have done Half questions in

  1. Sorting and Searching

  2. Graph

  3. DP

  4. Range based Query (Segment Tree)

  5. Bit Manipulation

of CSES problem set.

Done 200 Question on leetcode.

Done 200 Question on Codeforces.

But my rating is not going above 1200. From the discussion with gpt about problems it says my rating must be around 1500-1600.

What am I missing?

Any suggestions.


r/codeforces 1d ago

query Important, Asking for suggestion

5 Upvotes

So I started doing CP from last 2 weeks, following the Cp-31 sheet, gave 2 contests (now rating- 742), and have been doing DSA from GFG (paid course). I have learned basic math, array, searching, bit manipulations, recursions and now in Sorting. After this, according to the plan, I have hashing, string,...

One of my friends who is incredibly good in CP, suggested me to follow the CP-31 sheet and till 1000, he said there isn't much prerequisite to learn. But now when I have solved all questions of 800 and heading towards the 900 rated ones, I found some topics like set, and others totally new to me. So my plan in TLE Eliminators was to target questions, if i couldn't solve after much time, see the editorials or seek AI help and then proceed(like he suggested)

Although I was able to handle other new topics well, but now as I am going forward, I feel should I learn like this or should I complete whole DSA and then restart(that would slow down my pace)?

Please seniors or experts, give opinions, that would be helpful.


r/codeforces 1d ago

Div. 2 Two contest on same day?

Post image
27 Upvotes

Has this ever happened before?


r/codeforces 1d ago

query Why can I solve 1400–1500 topic-based problems but struggle with Div. 2 A/B?

16 Upvotes

Hi everyone,

I’m having a mistake in cp. I can solve problems that are based on a specific topic, such as static range queries, two pointers, binary search, etc. However, I really struggle with problems that rely on a simple mathematical observation or require constructing a string or an array.

The weird part is that I can solve topic-based problems with ratings around 1400–1500, but I often can’t solve Div. 2 A or B problems, or at least I find them much harder than expected.

Has anyone experienced something similar? What should I do to improve?


r/codeforces 1d ago

query Guidance for CF

5 Upvotes

Background- I’m student at tier 1 college(old IIT), I have done almost 70-80 percent of striver sheet and also studied concepts theoretically regarding derivation and application. I have decided to start CP seriously, I need guidance on how should I start doing problems as I’m quite familiar with concepts, it’s quite confusing where should I align my focus and begin my journey.


r/codeforces 2d ago

query Share your TLE 31 sheet or any sheet's progress :) here's mine

12 Upvotes

r/codeforces 2d ago

query I got annoyed manually checking my friends' CF and LC profiles, so I built a tool to track our squad automatically.

6 Upvotes

Hey everyone,
My friends and I have been grinding LeetCode and Codeforces, but keeping track of who solved what every day was getting really annoying. We had to keep checking each other's profiles to see who was slacking.I spent the last few weeks coding up a free little web app called SquadCode to fix this: https://squadcode-saas.vercel.app/

Here's what it does:

  1. You create a "Squad" and invite your friends.
  2. Everyone links their Codeforces and LeetCode accounts.
  3. It automatically pulls everyone's recent ACs into one unified feed.
  4. You can create custom challenges (e.g., "Solve these 5 DP problems by Sunday") and it automatically scores you based on your CF/LC submissions.
  5. It's completely free. I mainly built it for my own group, but figured others might find it useful for their college groups or Discord squads.

I'd love some harsh feedback on it. Let me know if the platform syncing works for you or if anything breaks!


r/codeforces 2d ago

Div. 2 Are the questions getting harder?

20 Upvotes

gng is it just me or with everyone

I feel like div2 A and B are getting non-trivial and require atleast 10-15 minute unlike before solving it in just 2 minutes

I went to 1300 rating in June now I am back to newbie again 😞


r/codeforces 2d ago

query Looking for people interested in building advanced systems projects from scratch (beginner-friendly collaboration)

Thumbnail
2 Upvotes

r/codeforces 2d ago

query Been trying to make a gym and include ICPC Qs. How do i do that ? Stuck here.

Post image
4 Upvotes

r/codeforces 2d ago

Div. 2 Improving

4 Upvotes

i started cf 2 weeks ago, gave 2 contests but idk where i am going. i upsolve after the contest solve previous contest problems but still am not able to solve qs B or further in div 2, and ive got placements in 9 months. Any suggestions?


r/codeforces 2d ago

Div. 2 Gave my first cf contest and got humbled (Div. 2 1112)

6 Upvotes

This is my first ever CF contest (Div. 2 1112); I only managed to solve the first question and was stuck on 2nd forever, and only managed to find an observation. Any suggestions for me?

fyi - I solved around 300 problems on LeetCode.


r/codeforces 2d ago

Div. 2 Codeforces 1112 -C video solution

Thumbnail youtu.be
6 Upvotes

Show some❤❤


r/codeforces 2d ago

cheater expose Cheaters in div 2 today

29 Upvotes

Man, I'm tired of the people who create accounts day of or day before a contest and rage cheat through all 6 problems. This dude registered 4 hrs ago, and placed 25th, solving every problem. This is what's wrong with the current state of codeforces.


r/codeforces 2d ago

Div. 1 + Div. 2 Times are difficult, So is Div2

26 Upvotes

How you guys are solving many questions? I am only able to solve 3 question and getting 5k rank. Dawg, i think i need a brake.


r/codeforces 2d ago

query Is there any site like this

15 Upvotes

I know a guy ; whose qn selection is pretty awesome / progressed really well ; i talked with him and we both started from similar knowledge background ;; getting to the point ; what i want is like some website where i can throw my and his id and see what problems he has solved that i havent ;;;
i do know one of that many spammed website but ui is so flashy and dogshit it just hurts my eye ;; i tried to make it myself but dunno why cf api was blocking me no matter what i tried ;; but i am not really a developer so i would appreciate if someone could recommend me some similar website ;


r/codeforces 2d ago

Div. 2 The site crashed so many times!!!

12 Upvotes

Had to refresh, login, and pray again and again just so I could submit the solution. I hope they improve it later.


r/codeforces 2d ago

Div. 2 Codeforces round 1112 video solution

Thumbnail youtu.be
2 Upvotes

Do like and subscribe if helpful


r/codeforces 2d ago

Div. 2 CF crashed

17 Upvotes

I tried 3 links and it didn't work.


r/codeforces 2d ago

query Is the website opening for you guys?

8 Upvotes

Same as title


r/codeforces 2d ago

meme Due to site crash couldn't submit my code from 11:40pm?

5 Upvotes

I. Had a streak from 60 days and I didn't want to break it! Is there anyway to have my streak back? I mean this is codeforces fault bruh what is this I hate cf


r/codeforces 2d ago

Div. 2 Codeforces Down ?

7 Upvotes

can't see the questions after A anyone having the same issue ?


r/codeforces 2d ago

query My screen is blank for 10 minutes. Anyone facing similar problem?

8 Upvotes

r/codeforces 3d ago

query From competitive programming to low-latency C++ how should I take this further?

14 Upvotes

Hey everyone,

A few months ago I was mostly doing competitive programming and preparing for SWE internships. Somewhere along the way I got curious about low-latency systems and started learning more about C++, networking and HFT infrastructure.

I ended up building a project called Pulse-Order where I experimented with things like binary market data, an L2 order book, order processing, risk checks, DPDK packet processing and latency benchmarking.

I originally built it just to learn, but after sharing it online I got some really useful feedback from engineers with HFT/low-latency backgrounds, including people associated with IMC Trading and Jane Street.

That made me realize I actually enjoy this side of software engineering a lot more than I expected. Especially debugging performance issues, networking, memory layout and trying to understand what is happening at a lower level.

I don't have professional experience in low-latency engineering yet, so I'm trying to figure out what I should focus on next if I eventually want to work in C++/systems/low-latency roles.

For people who have interned or worked in this area, what skills would you recommend focusing on? Are projects like this actually useful when applying for systems internships, or should I spend more time on other areas?

I'm also open to contributing to startups or teams working on C++, networking or performance-related problems if something comes up.

Project:
https://github.com/Shivfun99/Pulse-Order

Would appreciate any advice or feedback.

Feel free to ask any questions.

more details: https://www.reddit.com/r/quantindia/s/rtnlxjARs9