Duelist1234's blog

By Duelist1234, history, 11 days ago, In English

So the problem is as following: You are given two integers n and q , and there is an array length n with all zeroes. There are q operations of 3 types: -output the sum in array a from i to j; -a[i] becomes 1; -a[i] becomes 0.

I know this can be done using segment trees but I think that is complicating it.

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it

By Duelist1234, history, 3 weeks ago, In English

On the 21th of July 2023 i was my first participating in a contest. 209 days, later i finally reached pupil. This is without a doubt my biggest cp achievement. I had times of doubt that i would ever reached pupil but that is no more. Id like to thank MikeMirzayanov for creating the best place to practice cp. Id also like to thank my friends for motivating me to reach pupil and introducing me to Codeforces, BigBadBully Alebn jovnoliver12 naneosmic.

Full text and comments »

  • Vote: I like it
  • +9
  • Vote: I do not like it

By Duelist1234, history, 3 weeks ago, In English

How many of you reading tuis are preparing for an Olympiad , i assume the nhmber is high because my friends and many people who competed in EJOI 2023 did. Also , if you are preparing for an Olympiad , which one , i am preparing fro EJOI 2024.

Full text and comments »

  • Vote: I like it
  • +1
  • Vote: I do not like it

By Duelist1234, history, 4 weeks ago, In English

Do resubmissions only affect your placement if you solve the problem or does it not have to be solved?

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By Duelist1234, history, 5 weeks ago, In English

What really excites me about this year is how passonate Moldova is about hosting EJOI 2024. They already made the website, IN JANUARY. And its going to be earlier than last year , 16-22 August. I think this is a good sign for cp olympiads in general and this motivates to work hard the next 7 month and reach first of all pupil. I hope you got motivated simillarly and good luck!

Full text and comments »

  • Vote: I like it
  • +13
  • Vote: I do not like it

By Duelist1234, history, 6 weeks ago, In English

Is there any website like codeforces but for math? I need to work on my programming math.

Full text and comments »

  • Vote: I like it
  • +1
  • Vote: I do not like it

By Duelist1234, history, 3 months ago, In English

This is a MUST HAVE for cf , i tells you much information about your acc , for example , your submissions each day , how many problems of what difficulty did you solve etc. Here is the link for everybody who didnt know about it already , https://cfviz.netlify.app/;

Full text and comments »

  • Vote: I like it
  • +2
  • Vote: I do not like it

By Duelist1234, history, 4 months ago, In English

A few days ago i stumbeld upon a 1200 which gave me a headache 1822D - Супер-перестановка , and just now i solved it. What i want you to do is look at this problem and try figuring it out , then read the rest of this post.

The way i solved it , and what i believe to be the easiest way of solving it looking at last test case and finding the pattern, after this you should be all set , the implementation is really easy.

This problem taught me that i really need to observe the test cases more , even if there is really only one useful test case.

Enjoy the rest of your day.

Full text and comments »

  • Vote: I like it
  • +6
  • Vote: I do not like it

By Duelist1234, history, 4 months ago, In English

Recently I have been struggling with 1200 , i dont know what happend but i used to know how to do harde problems , i dont know what happend.

Full text and comments »

  • Vote: I like it
  • -2
  • Vote: I do not like it

By Duelist1234, history, 4 months ago, In English

Is there actually any way of seeing lets say test case 91 , because usually it just shows like less then the first 50

Full text and comments »

  • Vote: I like it
  • -8
  • Vote: I do not like it

By Duelist1234, history, 5 months ago, In English

For anyone looking to increase their rating and overall cp abilities i suggest checking out ACD Ladders , its completely free and will help you progress.

Full text and comments »

  • Vote: I like it
  • +3
  • Vote: I do not like it

By Duelist1234, history, 5 months ago, In English

https://codeforces.com/problemset/problem/1851/C , this problem has been the sooooo confusing , can someone explain test case 9 to , but please dont spoil me the problem solution

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it

By Duelist1234, history, 5 months ago, In English

I recently learned that instead of grinding lets say A problems you should go out of your comfort zone . Dont just do all the 800* problems you find , sometimes try 900* and 1000* and i guarantee you will get better.

Full text and comments »

  • Vote: I like it
  • +6
  • Vote: I do not like it

By Duelist1234, history, 5 months ago, In English

What is the time complexity of the Euclidean Algorithm? Also please upvote im really down bad with the downvotes and i want to return to positive contribution. Edit: When i meant the contribution i was hoping to get massivly downvoted.

Full text and comments »

  • Vote: I like it
  • -12
  • Vote: I do not like it

By Duelist1234, history, 5 months ago, In English

While its well known that ChatGPT is bad at solving cp problems , its rather infamous for all the other good regarding cp. For exapmle, you want to learn mergesort , while you could go on yt to try to find a good tutorial and explanation,you could just ask chatgpt for the code and explanation, he will also answer all your questions.

Full text and comments »

  • Vote: I like it
  • -19
  • Vote: I do not like it

By Duelist1234, history, 5 months ago, In English

Like why are people in the comments of blogs on this website such trolls , and you will also see it on the comment section on this blog further proving my point. They will too just downvote bomb atleast all of my blogs. Does this happen to you too?

Full text and comments »

  • Vote: I like it
  • -23
  • Vote: I do not like it

By Duelist1234, history, 6 months ago, In English

If you are strugaling to get better at cp(competitive programming) id suggest to grind out the highest level cf problems you can from past div2 contests , i can personally verify this metodh has started helping me progress.

Full text and comments »

Tags cp
  • Vote: I like it
  • -25
  • Vote: I do not like it