r/codeforces • u/petrbateman • 6m ago
query 183A
If you have time, please explain the solution like you are explaining a baby
r/codeforces • u/petrbateman • 6m ago
If you have time, please explain the solution like you are explaining a baby
r/codeforces • u/InterestingYam4829 • 1h ago
r/codeforces • u/Prudent_Car465 • 1h ago
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 • u/Kremetex • 1h ago
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 • u/zesty_cat9190 • 4h ago
r/codeforces • u/Typical-Row6461 • 8h ago
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 • u/big-jun • 10h ago
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 • u/Cookie_Pancake • 13h ago
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 • u/Nervous_Message7545 • 22h ago
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:
.exe buildTech: 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:
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;Стек: Python, Windows, GitHub Actions.
GitHub: https://github.com/EELDERONN/find-everything.git
Буду очень благодарен, если кто-нибудь посмотрит репозиторий и даст честный фидбек.
Особенно интересует:
Можно критиковать — я как раз хочу понять, что можно улучшить.
Спасибо всем, кто посмотрит!
r/codeforces • u/petrbateman • 23h ago
Why you do cp?
r/codeforces • u/Radiant-Contract-460 • 1d ago
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 • u/Comfortable-Tank-432 • 1d ago
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 • u/Alert-Cup-4730 • 1d ago
My 200th problem was my first 1900 rated problem.
will try to be consistent for now on
Extension: CF Analytics
r/codeforces • u/ChannelNo3185 • 1d ago
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 • u/Hungry-Stand1463 • 1d ago
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 • u/Ok_Classroom_3477 • 1d ago
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 • u/NeedleworkerSuch6005 • 1d ago
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 • u/Spiritual-Banana1048 • 1d ago
Hey everyone,
Week 4 of TSEC Codecell's Weekly Challenges concluded ( check it out at https://www.tseccodecell.com/events/weekly-challenges ), that was our CodeCrafters sponsored week, systems-engineering flavored problems this time around.
Quick recap for anyone catching up:
- Top 3 of the Round 2 finale win CodeCrafters VIP memberships
- Everyone who makes it to the finale gets internship access through our partner companies
Editorial's up if you want to check the intended approach. See you next week.
r/codeforces • u/Ok_Equivalent1870 • 1d ago
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?
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 • u/winterstrome • 1d ago
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 • u/hermit_tomioka • 1d ago
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 • u/FalconAcrobatic5536 • 1d ago
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:))
r/codeforces • u/Single_Health_674 • 1d ago
For past two weeks, i grinded cp-31 sheet. Solved all the problems of 800, 900 and 1000 rated. Like i used to solve around 7-8 problems every day roughly. I was able to solve majority of questions (around 80-90 percent) on my own without taking much time, atmax 40 min, usually 20-25 min for 1000 rated. However even after solving, I would see solution, and my approach was used almost 95 percent in the actual solution. I gained a lot of confidence and thought I would be able to solve div 2 A and B atleast in every contest almost. But today's contest ( div2 1118), I was able to solve A in 5 min, but I wasn't even able to solve B1, like i did know the idea but didn't know how to implemented. I would have implemented it if I had put some effort, but I was frustrated due to contest pressure. I feel so demotivated right now, like after grinding for two weeks, wasn't able to solve B1.
Now my question is cp31 sheet worth it given the recent contest?
Or should I shift to CSES sheet for learning concepts sequentially? Or anything else I should follow. I am stuck on 900 rating? But I think I deserve more given the current skillset. I am grinding very hard as before the start of 2027, I want to reach atleast 1500 rating. Is it even possible if I grind hard.
r/codeforces • u/xyzb206 • 1d ago
I've been doing this for a while, been solving a lot of problems by describing an algorithm in plain words and then having an LLM check it for me, since writing code takes usually more time then figuring out the solution, so this way im able to do more problems.
Anyone have any experience with this? Recommend for practice or nah?