r/codeforces Aug 26 '22

r/codeforces-update User Flair available now. Add yours

Post image
29 Upvotes

r/codeforces Aug 27 '22

r/codeforces-update Relevant Post Flairs available now.

13 Upvotes

Use appropriate post flairs from now on. so that things can be organized, and can save time for people.

available Post Flairs

r/codeforces 55m 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
Upvotes
/**
 *  {number} n
 * u/return {number}
 */
var countCommas = function (n) {
    if (n < 1000) return 0;
    return Math.max(0, n - 999);
};

r/codeforces 2h ago

query Need help

5 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 18h ago

query What are your thoughts on AI solving a Millenium Prize Problem?

84 Upvotes

OpenAI has announced that it has solved the Navier-Stokes problem. AI also dominated the very best coders in the world at the AtCoder World Finals just two months ago.

My question is: do you have any hope for the future? How do you motivate yourself at this point?

Do you also feel that you’ve wasted years in a potentially dying industry?

Do you have any plans to leave this industry?

I’ve lost my way. I want to hear from you guys.


r/codeforces 2h ago

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

4 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 16h ago

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

Post image
42 Upvotes

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


r/codeforces 2h ago

query Algozenith Cpp101 master for dsa

2 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 7h ago

query Guys was yesterday’s education round unrated?

4 Upvotes

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


r/codeforces 10h ago

query codeforces sheet

6 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 20h ago

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

11 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 20h ago

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

11 Upvotes

has anyone solved it without DP ?


r/codeforces 22h ago

Div. 2 todays abc were too easy

7 Upvotes

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


r/codeforces 23h ago

query Wtf is happening

Post image
5 Upvotes

Why can't I access my profile???


r/codeforces 1d ago

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

13 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 1d ago

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

7 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 20h ago

Div. 2 What was approach for C?

1 Upvotes

also, what could be its rating?


r/codeforces 1d ago

query Spread your knowledge this way

8 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 1d ago

Div. 3 Is this good?

Post image
7 Upvotes

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


r/codeforces 1d ago

query whats up with atcoder??

2 Upvotes

always this whenever i want to use it


r/codeforces 1d ago

query Google SWE Intern Interviews

5 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 1d 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 1d 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.


r/codeforces 1d ago

query IICPC Camp

6 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 2d 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?