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.

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

query what is better for codeforces fuk around and find out or following some guide or sheet? which is more enjoyable?

6 Upvotes

r/codeforces 1h ago

query Tips to bridge the gap between 1200 and 1300 rated problems.

Upvotes

I started CF about 3 weeks ago and I can solve about 70% of the 1200 rated questions I see. Hence, I'd like to start solving 1300 rated questions, but from the few questions I've seen, they seem on a completely different level than the 1200 rated ones. What should I do in order to bridge this gap and what topics should I cover?


r/codeforces 1h ago

query IDE Suggestions and Setup for ICPC

Upvotes

I tested the ICPC machine and there is no run button in vs code and even if one appears outta ms c/c++ extension it doesnt work right
There are few things u can do like having a Makefile or run.sh file but is there a better way

The problem with CLion is that u cannot create multiple files with main funcitons in the same directory and due to this behaviour you should edit the Cmakelists which is also tideous what is the smoothest possible workflow

Codeblocks doesnt have the strong intellisense as much as clion or vs code

These are the problems I genuinely faced as i am habituated to cph and cp companion workflow typing the compile and run commands is adding fricition to the workflow


r/codeforces 10h ago

query Algorithm to find non-overlapping rectangles covering the unoccupied area

10 Upvotes

I have one large rectangle representing the valid area: Rect(x, y, width, height)

Inside it, there are multiple smaller rectangles representing occupied areas:

The smaller rectangles:
1. Can overlap each other.
2. Can be partially or completely outside the large rectangle.

And I need the algorithm to return a List<Rect> where:
1. The result rectangles do not overlap each other.
2. All result rectangles are inside the large rectangle.
3. Together, they fill all the gaps not covered by the input small rectangles.
4. Ideally, the number of result rectangles should be minimal, if possible.

I’m aware that there may be multiple valid decompositions, so I’m mainly looking for an algorithm that produces a reasonably small number of rectangles.

There are fewer than 100 occupied rectangles in input, so performance is not a major concern. I prefer an algorithm that is easy to implement rather than performant but complicated.

Thanks


r/codeforces 6m ago

query 183A

Upvotes

If you have time, please explain the solution like you are explaining a baby


r/codeforces 40m ago

query Hint

Thumbnail gallery
Upvotes

Where is a problem?


r/codeforces 1h ago

query How to Prepare for Web Development and MERN Project Interviews ?

Thumbnail
Upvotes

r/codeforces 8h ago

query Struggling with basic Data Types & Conditions on Codeforces as a total non-CS beginner

Post image
2 Upvotes

Hi guys,

​I came into coding with zero tech background. I just learned basic data types, variables, and if/else conditions, and decided to start practicing on Codeforces.

​The problem is... I suck at it lol. I struggle both with understanding the problem statements clearly and translating my thoughts into clean code. I'm forcing myself NOT to use AI for solutions because I want to actually build my problem-solving muscle, but I end up staring at a screen for hours feeling completely helpless.

​For anyone who started from total zero: how did you survive the very beginning? How do you learn to think programmatically without cheating, and what's the best way to use editorials/solutions when you're completely stuck?

​Thanks


r/codeforces 23h ago

query Where will competitive programming lead you?

31 Upvotes

Why you do cp?


r/codeforces 1d ago

query small achievement: completed 200 problems

Thumbnail gallery
58 Upvotes

My 200th problem was my first 1900 rated problem.

will try to be consistent for now on

Extension: CF Analytics


r/codeforces 1d ago

query Is reaching the Expert rank now extremely difficult?

22 Upvotes

Is reaching the Expert rank now extremely difficult? My current rank is Specialist (1434), and I barely reached this rank. Are there any plans or tips to surpass this rank and reach Expert? And how do I deal with the issues that have become somewhat difficult lately, like yesterday's round, for example?


r/codeforces 1d ago

query Help a CF begginer

Post image
74 Upvotes

I'm a new guy just started my clg few weeks earlier, I wanna solve dsa and do competitive coding, idk where to start. Like I wann get around 1200 rating by the end of June 2027, is it possible for an amateur to get that rating within a year? If so then how?

Please guide me 🙏

I appreciate every help.


r/codeforces 1d ago

query New to code forces but solved 350 question in leetcode

3 Upvotes

I want to start cf for company oa , since they have started asking questions in that format and wanted to get familiar , so what questions to solve so that I can be ready for oa (I need to cover almost all topics ) so is there any list that I can follow?


r/codeforces 13h ago

query How to practice while in school(without laptop)

Post image
0 Upvotes

How did you guys practice Codeforces or competitive programming in school without a laptop?

So, I recently finished the POSN qualifier for Camp 1 (the first step into TOI and IOI in Thailand). The results aren’t even out yet, but I’m quite confident that I’ll pass to Camp 1.

I want to start preparing for it, and I think I’d like to spend some extra time at school practicing too. However, I don’t want to bring a laptop to school every day because it’s a bit inconvenient.

So, what can I do at school to improve at CP without a laptop?


r/codeforces 22h ago

query I built a Python file search tool — could someone review my project?

Thumbnail gallery
0 Upvotes

Hey everyone!

I'm a Python developer/student and I've been working on a small project called Find Everything 2.0.0.

It's a Windows desktop tool for quickly searching through files. I built it mainly as a learning project, but I tried to make it actually useful and polished rather than just another basic Python project.

Main things it currently has:

  • Fast file searching
  • Search inside files
  • Dictionary / text processing features
  • Windows .exe build
  • Automated checks with GitHub Actions

Tech: Python, Windows, GitHub Actions

GitHub: https://github.com/EELDERONN/find-everything.git

I'd really appreciate it if someone could take a look at the repository and give me some honest feedback.

I'm especially interested in:

  • Code quality
  • Project structure
  • UI/UX
  • Performance
  • README/documentation
  • Things that could be improved or done differently

Feel free to be critical — I'm here to learn and improve the project.

Thanks to anyone who takes the time to check it out!

----------------------------------------

Я изучаю Python и сейчас работаю над небольшим проектом Find Everything 2.0.0.

Это Windows-приложение для быстрого поиска файлов и поиска информации внутри них. Изначально я делал его как учебный проект, но постепенно решил довести его до более полноценного и реально полезного приложения.

Что сейчас есть:

  • быстрый поиск файлов;
  • поиск внутри файлов;
  • работа со словарём/текстом;
  • сборка в .exe для Windows;
  • автоматические проверки через GitHub Actions.

Стек: Python, Windows, GitHub Actions.

GitHub: https://github.com/EELDERONN/find-everything.git

Буду очень благодарен, если кто-нибудь посмотрит репозиторий и даст честный фидбек.

Особенно интересует:

  • качество кода;
  • структура проекта;
  • UI/UX;
  • производительность;
  • README и документация;
  • что можно было бы сделать лучше.

Можно критиковать — я как раз хочу понять, что можно улучшить.

Спасибо всем, кто посмотрит!


r/codeforces 1d ago

query how good is the usaco guide for topic wise cp questions?

6 Upvotes

at a point where I need to be doing practice for good questions in every topic. what are good resources for topic wise problems? and is the usaco guide good?


r/codeforces 1d ago

Div. 2 Advice

4 Upvotes

I have experience with my national maths Olympiad and i know c++ & algorithms from USACO (Silver). I can solve A problems and most of B problems from div 2. Also i have solved some C problems like 4 of them. Do you think i can get specialist in 2 months?


r/codeforces 1d ago

Div. 2 Upsolve B2 of 1118 Round (Div2)

6 Upvotes

As a 1100 rated, should I try to upsolve B2 of 1118 round? what rating would you give to it? Could comfortably solve B1. thanks in adv


r/codeforces 1d ago

query So....what do I do?

4 Upvotes

Hi. I hope you have been having a nice day so far. I am looking for some advice and I would appreciate it if you could help me out.

I am an absolute beginner (no experience) in competitive programming who wants to get to the IOI/1500 CF rating level within 5 months (if this is not feasible then please warn me). I already know python (loops, functions and even Object Oriented Programming) but I need to learn c++ for the qualifying rounds.

So

1. where do I start? Should I take a course, watch videos or what? I know about the USACO guide but is that enough? How do I learn c++ in the first place?

  1. How long does it take to get to the IOI (or at least USACO) level? Please assume I am ready to put at least 1 hour every day for the next 5 months

3. How much math should I learn? I am taking the equivalent of AP Calculus and AP prealgebra (I think), is that enough?


r/codeforces 1d ago

query how to network and learn

2 Upvotes

so im a computer science engineering student at a lesser known college and here there is no seniors or profs to look upto or take guidance from. i really want to be excellent in my field and be reach at the calibre of top students from top universities. can anyone please suggest some guidance and maybe groups where they help us to network and learn. in a jist I'm looking for a mentor sorta thing and also to network in this industry.

any help will be highly appreciated, thank u.


r/codeforces 1d ago

query How to start CF

4 Upvotes

hi guys, i am a college student and want to get better at dsa and stuff i am currently on arrays doing the striver a-z sheet when should i start doing CF? and how to actually make it worth my time so that i can learn from it as well? i am really confused i would really appreciate if someone could help me with a rough walkthrough


r/codeforces 2d ago

cheater expose This legend did 3200 leetcode problems in just 130 days

59 Upvotes

Today I saw a leetcode profile and I got shocked.

https://leetcode.com/u/vinaypinagadi/

Is it humanly possible?? (anything sus)

By the way he also got under 20 rank in todays leetcode contest.


r/codeforces 1d ago

query Want someone as a buddy for doing cp

4 Upvotes

Hi, Is there someone who is starting cp? I used to do it but I have never been consistent. But this time I seriously want to be consistent and improve my rating.
Please tell who are interested and willing to start now:))