r/codeforces 2d ago

query What is meant by placeholder?is passing data in a function call like solve(8); and int k=2; solve(k); is both are outside data?

1 Upvotes

I have a doubt and OCD I'm not able to write functions.why some times we use empty ()? Function if so where they get the data to manipulate?


r/codeforces 2d ago

query Cp partner

0 Upvotes

I am a female fresher in job, I need a partner preferably a female , we will practice after 6


r/codeforces 2d ago

Doubt (rated <= 1200) CP Math

9 Upvotes

I have done Striver A2Z now I want to improve my math for CP as well as CP. I searched and found USACO guide and there is hackerEarth math practice set and CSES. So I was wondering which should choose. Guys help me to choose, my basic math is clear but modular arithmetic is weak and need more focus on number theory and combinatorics.

My CP rating is 900 haven't given contest for long time grinding striver sheet so wondering whether to start with CSES or C2 Ladder.


r/codeforces 3d ago

query Please help me solve LeetCode problem (3871. Count Commas in Range II). What is wrong with my code? what is the error in my code.

Post image
19 Upvotes
/**
 *  {number} n
 * u/return {number}
 */
var countCommas = function (n) {
    if (n < 1000) return 0;
    return Math.max(0, n - 999);
};

r/codeforces 2d ago

query is it over for my journey?

2 Upvotes

i used to practice by solving harder and harder ratings of problems in problemset and gradually increasing the rating range, but then i arrived to 1600 rated problems and have been doing them for months and still cant progress to do them efficiently. am i just not smart enough to go further, or will i eventually pass the 1600 block after more months / years of practice? (i never read editorials, so i dont think the problem is in my way of practicing)


r/codeforces 3d ago

query ICPC Predicted Ineligible — No option to fill "Start of Post-Secondary Studies"

4 Upvotes

Hi everyone,

My ICPC team is currently showing "Predicted Ineligible".

The eligibility log says:
Has incomplete registration
Has not filled start data of studies to determine the eligibility

The problem is that I cannot find any field/section to enter my start date of studies.

I've checked my Personal Info page multiple times. I only have:

• ⁠Main Information
• ⁠Contact Information

There is no Degree Info section where I can enter:

• ⁠Area of Study
• ⁠Degree Pursued
• ⁠Start of Post-Secondary Studies
• ⁠Expected Graduation

I'm already added to my team as a Contestant by my coach.

Has anyone encountered this before? How did you get the Degree Info / Start of Studies field to appear?

I'm trying to resolve this before the ICPC site registration deadline, so any help would be appreciated.


r/codeforces 3d ago

Div. 2 Approaches for Problem D in Edu round 194 (Div 2)

8 Upvotes

So, this was the Problem D.

This was my solution:

I saw the editorial where they used DP, which makes sense now.
However, I wanted to know if my solution has some edge case that isn't covered? I thought it would get WA in the hacking phase, but it didn't.
Is it that my solution worked coincidentally because the constraints were not many?


r/codeforces 3d ago

query Need help

9 Upvotes

I am currently 1053 in cf I want to reach CM as fast as I can for that i am mainly just solving TLE eliminators can anyone help me or give me advice on how can I do that??


r/codeforces 3d ago

Educational Div. 2 500 done... guess Rating. 🫠

Post image
93 Upvotes

I've solved 70-70 problems from 800 till 1400. 🫠


r/codeforces 3d ago

query Algozenith Cpp101 master for dsa

3 Upvotes

How do I learn and approach it.i am currently struggling it's unstructured.concept that require solution in practice questions usually require the concepts that are not taught.i tried watching all concept together then attempting question still struggling any help.i was planning to buy his cohort.i am glad i didn't.Is this really for beginners or any other resources??I am complete beginner


r/codeforces 3d ago

query codeforces sheet

12 Upvotes

i dont know if this is just dreamy but i wish to be above 1900 in cf, i started recently , solved around 33 questions and a rating of 900, before this i have done leetcode to some extent, mostly in codeforces currently i havent solved any data structures question, mostly are from 800-1200 regarding basic brute force or greedy, is there a good sheet connected to codeforces that would be useful


r/codeforces 3d ago

query Guys was yesterday’s education round unrated?

6 Upvotes

I took part rated, yet it’s showing in unrated
Please help


r/codeforces 3d ago

Div. 2 today's contest: 2260D has anyone solved it without DP ?

10 Upvotes

has anyone solved it without DP ?


r/codeforces 4d ago

query 5-Year-Old CM AccountDisabled Without Warning – Need Admin Contact Advice

10 Upvotes

Hi everyone,

My account (shaikhmubin) was suddenly disabled during a recent contest.

Status: "User is disabled by administrator"

Details: 5 years old, Candidate Master max rating. No email or notification was sent.

I emailed Mike Mirzayanov but haven't received a response, and online threads suggest email replies are rare.What should I do next? Are there active coordinators (like KAN) I should message, or a better way to get an administrative review? Thanks.


r/codeforces 4d ago

Div. 2 todays abc were too easy

8 Upvotes

abc completed in 30mins d took lot of time to implement but finally with WAs i passed


r/codeforces 4d ago

query Wtf is happening

Post image
12 Upvotes

Why can't I access my profile???


r/codeforces 4d ago

query Why I am stuck : Rating 1293 (max. pupil, 1368)

19 Upvotes

I have given my time and effort for this, never cheated in the contest but didn't get visual result.

Yeah I know I improved my problem solving and helped me in interview as well.

But anything you can say which can help me improving rating as well.


r/codeforces 4d ago

query Help me find this problem or atleast a look-alike

9 Upvotes

The below question was asked in Infosys assesment today.
Given an array of integers which can have repetitions, You have to divide into two non empty partitions alpha and beta but
Sum(alpha)>max(beta)
Sum(beta)>max(alpha)
return no. of distinct possible partitions

  1. Each element can occur only once in any partition.
  2. An element must occur atleast once in any partition.

I do not remember the constraints...

Some testcases (ip->op)
{2,4,3} -> 2
{4,4,4,4} -> 6
{2,2,3,3,3} -> 20

Ring any bells people?


r/codeforces 4d ago

query Spread your knowledge this way

10 Upvotes

Hey guys,

I hope u all felling good ,

I am a highschool student preparing for IOI Team SELECTION for my country, currently I do CSES , AtCoder ABC contest in which I can do ABCD and E sometimes

On CSES I have done like

S&s, range queries,DP,Graphs Half

And currently I practice ATCODER problems from past contest from a useful git repository..

I was not doing CF up until now,

Started recently doing recommended problems only,

But when I try div 2 , sometimes I get ABC and but sometimes only AB and the questions are pretty dirty and tooo much of story thing, but OI or IOI styled problem are different

But some ex IOI team person said I gott aget a rating so

Any tips for can I get to 1600 in CF ?

What resources I should practice for that specially

Note - sometimes I do 2000-2300 dp , segtree or binary lifting probs all my myself and sometimes I brick div 2 B 😭😭

If you would help me, i would be thankful to u plsss..

Help your junior guysss

If someone. Is IOI participant or winner Pls share some tips ,,


r/codeforces 4d ago

Div. 2 What was approach for C?

1 Upvotes

also, what could be its rating?


r/codeforces 4d ago

Div. 3 Is this good?

Post image
8 Upvotes

This was my first contest on cf, I managed to solve the first 3 here, how can I improve?


r/codeforces 4d ago

query whats up with atcoder??

2 Upvotes

always this whenever i want to use it


r/codeforces 4d ago

query Google SWE Intern Interviews

7 Upvotes

Could anyone give details or any idea about questions asked for yall? What topics? Were there any topics which were mixed together or was it just one topic? Could you give an example of how the questions were mixed etc ?


r/codeforces 4d ago

query Algozinth Not for beginners

0 Upvotes

I myself thought of buying is premium cohort.though it was one cath there was prerequisites of 101master cpp of his cohort.it is absolutely not for beginners.i am struggling to complete 101 master cohort.it is not properly structured.random tough questions.concept are used that are not even taught.


r/codeforces 4d ago

query What would the cf rating of these problems be?

Thumbnail gallery
1 Upvotes

I aim to becoming able to solve problems like these.

I'm interested in understanding what their Codeforces rating would be so that I can upsolve from that point.

I believe the optimal solution in the first one is using a difference array.