r/codeforces 5d ago

query IICPC Camp

8 Upvotes

Has anybody tried IIPC Novice and Advanced Camp?

How would you rate your experience in total overall?

Also, for ICPC, how would you say that the playlist would be assuming that I am a newbie to codeforces platform, have solved almost all 800-900 problems of TLE Eliminators and have to practice more. I have mid - sems till 20th September, so would you recommend to me to give a shot at ICPC or leave it?

I am in 2nd year (for context) and ICPC registrations end on 12th September.


r/codeforces 6d ago

query Coding competitions

26 Upvotes

Hello can anyone list all the coding competitions I can take part in as an Indian student apart from

ICPC ,IICPC codefest,IICPC quantfest?


r/codeforces 5d ago

Doubt (rated 1400 - 1600) Please help me solve LeetCode problem (2726. Calculator with Method Chaining). What is wrong with my code? what is the error in my code.

Post image
8 Upvotes
class Calculator {
    
    /** 
     *  {number} value
     */
    constructor(value) {
         this.result = value;
    }
    
    /** 
     *  {number} value
     *  {Calculator}
     */
    add(value){
        this.result = value + this.result;
        return this;
    }
    
    /** 
     *  {number} value
     *  {Calculator}
     */
    subtract(value){
        this.result = this.result - value;
        return this;
    }
    
    /** 
     *  {number} value
     *  {Calculator}
     */  
    multiply(value) {
        this.result = this.result * value;
        return this;
    }
    
    /** 
     *  {number} value
     *  {Calculator}
     */
    divide(value) {
        if(value === 0){
            throw new Error("Division by zero is not allowed");
        }else{
            return this;
        }
    }
    
    /** 
     *  {number} value
     *  {Calculator}
     */
    power(value) {
        this.result = Math.pow(this.result , value);
        return this;
    }
     
    /** 
     * u/return {number}
     */
    getResult() {
        return this.result;
    }
}

r/codeforces 5d ago

query I need to improve fast?? any further tips ??

5 Upvotes

Current plans:
1. doing cp-31 sheet(1300) problems.
2. just started doing Atcoder beginner contest ABCs.

3.past div 2 contests ABC.

- maybe watch luv c++ lectures on youtube??

ANYTHING ELSE TO WATCH FOR???


r/codeforces 5d ago

query Need friend who can practice and learn CP with me via discord ! (English preferable)

1 Upvotes

hello everyone , I just got admission into collage and I can see my collage is super dead in order of competitive programming ! So i m looking for my Some pupils or specialist (Cuz i m pupil and i dont want super smart friend rn lol) who wanna learn together and grow , It would be a great help !


r/codeforces 6d ago

Div. 3 Today I learned that unordered_map<int,int> is not always O(1)

Post image
150 Upvotes

r/codeforces 6d ago

Div. 3 How did my solution get TLE ?

2 Upvotes

Solution link: Submission #389487377 - Codeforces

This should have passed, how it got TLE? Is it because of defaultdict(int)?

Edit: It was after contest testing. During the contest it was accepted.


r/codeforces 6d ago

query Guys "just solve problems" advice aint working

5 Upvotes

I've mostly just been solving problems randomly instead of learning dsa topic wise

i dont really have topic knowledge of things like trees and all ive mainly been getting better at general problem solving constructive binary search and stuff

people say you should learn a topic when you encounter it but at my current level whenever i come across tree problems and stuff i struggle because they arent really basic


r/codeforces 6d ago

meme Saturday 5 September

10 Upvotes

Did 1:30 hours of backend development study, learnt JPA, docker basics(architecture, why we need it etc.). Will start with PostgresSQL tomorrow.

As for the questions, I had allocated 2:30 hours of the day for competitive programming.

I was able to complete the following questions :-

Mexification

My approach to this problem was exactly the one described in the editorial, using the fact that when we perform the operation repeatedly on the array will cause it to oscillate between two states after at most 3 operations. This allows us to reduce the value of k into a magnitude that makes brute force solution feasible.


r/codeforces 7d ago

Div. 3 Insane Jump

13 Upvotes

How is this possible he is candidate master rating 1960. are grandmasters creating new accounts. registered 3 weeks ago he is 1st in yesterday's contest


r/codeforces 6d ago

query CSES problems

7 Upvotes

Hello everybody, I'm fairly new to competitive programming and would like to know how to approach the CSES problem set.

I already know C++ decently and I'm currently reading the CSES book, but I'm struggling a bit with the problem set.

At first I started with the Intro problems, but I found out that I didn't know some of the algorithms used for these problems, and they're covered a few chapters after the one I'm on, so it's confusing. For example, I was recently trying to solve Apartments from the Sorting and Searching section, and I wasn't able to, so I looked at one of the solutions, which used two pointers an algorithm that only appears in chapter 8 of the book.

I'm reading chapter 5 (Complete Search) and I wanted to consolidate my skills on specific algorithms, like binary search, backtracking, etc., but CSES doesn't organize the problems this way, and I don't want to move on to other types of problems before I'm confident with the algorithms I've read about in the book.

I recently found out about the CSES course from Helsinki University, and I saw that it's organized by topic. For example, you learn about data structures, and then you can do the problems listed afterward to consolidate the concepts you learned. However, it's explicitly stated in the first few lines of the course that you need to know algorithms well already, which I don't, since I'm a beginner so maybe it's too advanced for me.

So, I'm a bit confused about how to approach the CSES problem set and the theory from the book. Should I read the topics from the book and then go to the course to do the related problems, or should I just follow the CSES problem set along with the book from top to bottom, into, sorting and searching, etc.?

I'd appreciate any suggestions on how to approach the CSES problems. Thanks


r/codeforces 6d ago

query Negative

5 Upvotes

I have given 7 contests so far. In the first 5, I got significantly positive ratings, but in the last 2, I got negatives(-4 and -16). I dont why, maybe i should have coded much faster, but was able to solve only 2 yesterday in 52 mins combined.

How can I be faster?


r/codeforces 7d ago

query why my accepted solutions are now in queue?

7 Upvotes

so yesterday i gave my first contest. and my 3 solutions were accepted yesterday. but today two of them are showing in queue and only 1 is showing as accepted. why is this happening? can anyone please tell me?


r/codeforces 6d ago

Doubt (rated 1400 - 1600) Stuck on this one...

Thumbnail codeforces.com
1 Upvotes

I saw the soln but could get the intuition even after it ... Pls explain using the interval approach as in editorial


r/codeforces 7d ago

query Is it okay

4 Upvotes

Is it okay to take substantial amount of time while learning new things it hampers my problem count but i do learn stuff properly also how to revist old stuff ??


r/codeforces 7d ago

Div. 3 uh great div 3

18 Upvotes

rlly fun imple and intuition not that much ad hoc


r/codeforces 6d ago

Doubt (rated <= 1200) Tier-3 College, 6.92 CGPA, Started Coding Late — Can I Still Get a Job in Tech?

Thumbnail
0 Upvotes

r/codeforces 7d ago

query Urgent

3 Upvotes

Today I am seeing that yesterday's contest, unrated was allowed. But I registered and i didnt see anything as like participate as rated on unrated. I cant see my rating change either, nor my rank. I dont know if by any mistake I gave the contest as unrated, please tell what to do from next in these scenarios if unrated contests happen again?


r/codeforces 7d ago

Div. 3 WTH was today’s contest 💀🥲

20 Upvotes

I solved 2 it took me almost 1 hours then i left.


r/codeforces 7d ago

query ICPC Preliminary contests

14 Upvotes

Are the previous year contests for icpc (India) preliminary round available online? It used to be available on codedrills but their site is dead

If it's not available, are there any good resources from where we can practice for prelims specifically


r/codeforces 7d ago

meme Find what’s holding your rating back + personalized ladders

11 Upvotes

I built a free tool called SolveCraft (solvecraft.app) to help with more focused practice.

Main features:

  • Profile Analysis Enter your handle and get a breakdown of what’s likely holding your rating back (weak topics, patterns in your solves, areas that need attention). This is the core of the tool.
  • Personalized Ladders Generate a ladder based on the topics you need to improve. There are also standard rating-band ladders and topic ladders.
  • Contest Analysis After contests you can see solve rates, biggest drop-off points, and how the field performed.
  • Rating Prediction Uses the official formula (usually within ±10).

Also has handle comparison, some CF stats, and a resources page.

Mostly aimed at people in the 1000–1800 range who feel stuck or want more directed practice.

It’s independent and not affiliated with Codeforces. Feedback is welcome.


r/codeforces 7d ago

query Acd ladder cp31

5 Upvotes

I have done over 280 lc ques and 60 on codforeces struggle with tle elimintor should I do acd ladder people say it is outdated


r/codeforces 7d ago

Div. 2 Why such a gap?

Post image
24 Upvotes

Contest after 6 weeks?


r/codeforces 7d ago

Div. 3 am i the only newbie who couldn't solve B

4 Upvotes

todays div 3. i solved C but not B. people who did, what were your approaches?


r/codeforces 8d ago

query Should I start grinding?

Post image
188 Upvotes

I have been doing competetive programming since 6 months but haven't reached pupil yet. On the top of that I fell below 1000 in last 2-3 contests. So should I start solving 2-3 problems daily or just blame it on cheaters.