Пожалуйста, прочтите новое правило об ограничении использования AI-инструментов. ×

Блог пользователя Flvx

Автор Flvx, история, 7 часов назад, По-английски

I quit, I am done wasting my time, life, effort, in a skill that I just can't get a hold of. No matter how much I practice, no matter how I think, I just can't force my brain to improve. Its like I am actively losing my mind. This is great news since every other Timmy from here to Timbuck2 can solve Div2 A,B,C,D like its a joke, I QUIT. I will not waste anymore of my time on this stupidity. WeaponisedAutist was correct, CP is not for me and frustration does not even begin to describe how I feel. I am done being struck down again and again, and when I finally hit my stride, for some reason my brain decided to shut down permanently, because screw my goals I guess. I can't believe I wasted so much of my time on this. There is only one contest tomorrow(which going by my life, I can't wait to recieve my -100000 rating and delete my damn account.) and there is no other contest in site....great.

Goodbye.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -36
  • Проголосовать: не нравится

Автор Flvx, история, 4 месяца назад, По-английски

I tried accessing clist.by but it gives a a 504 error. Is this the same for others? How long will the site be down for?

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор Flvx, история, 5 месяцев назад, По-английски

Problem Statement: this Is there a way to prove that if we are not able to connect the vertices to 1 in the greedy order that has been suggested, then there exists no other answer?

Thanks.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится

Автор Flvx, история, 12 месяцев назад, По-английски

This video(copied with time stamp) presents an approach to solving problem 1665C and I understood the broad approach but I am not able to understand that if we have the sum of left over vertices after considering infection is greater than the number of injection operations remaining we directly say that x is not possible, but shouldn't we also consider the fact that even if we have less injections left, they would all still spread in parallel at any given time?

For example lets say that x = 3 and the sum of count values is 4. And this value comes from two sets comprising of two sibling nodes. Then it is possible to infect all of them in 3 seconds, because once we infect one of them the infection spreads to the sibling. So this is why I have this doubt, maybe I might have misunderstood something in which case I would really appreciate any help

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор Flvx, история, 12 месяцев назад, По-английски

This solution fails the second testcase and I don't understand why since the logic that I have used here seems to be fine. Any help would be appreciated.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -3
  • Проголосовать: не нравится

Автор Flvx, история, 14 месяцев назад, По-английски

Can someone tell me why this code is giving WA. I have tried coming up with counter testcases but it passes all of them. Thanks.

Полный текст и комментарии »

  • Проголосовать: нравится
  • +2
  • Проголосовать: не нравится

Автор Flvx, история, 15 месяцев назад, По-английски

Hello, I wanted to know why the this submission was giving TLE. Thanks :)

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор Flvx, история, 18 месяцев назад, По-английски

The problem in question is Hamiltonian wall and I wrote a solution to this that works, but I suspect that it is the wrong solution. My solution is this. The reason I suspect that my solution is incorrect is because, if in the DFS function I change the order of the two loops, I get the wrong answer(when that should not be happening). I would really appreciate if anybody could point out what is wrong with DFS function.

Thanks, if you need any clarification regarding some of the terms in my template or regarding my approach, feel free to comment down below EDIT: I removed the lengthy template

Полный текст и комментарии »

  • Проголосовать: нравится
  • +3
  • Проголосовать: не нравится

Автор Flvx, история, 20 месяцев назад, По-английски

This editorial problem E1, Erase and Extend, can someone please give a logical explanation as to how the optimal string is supposed to be a repetition of a prefix? The editorial takes a lot of leaps and the comments do not have any explanation. Thanks. (Ask me for further clarification if needed)

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

Автор Flvx, история, 20 месяцев назад, По-английски

For problem this, the editorial suggests a naive way in which we break the chain and linearly kill all the monsters(then they present an optimization based on this), how do we know that this is the optimal way? Why can't I first kill monsters from one segment and then once the cascading effect stops, I jump to another monster which(say) has the highest b[i]/a[i] ratio? I need help in understanding this. Thanks in advance. (You can ask for further clarification from me if required)

Полный текст и комментарии »

  • Проголосовать: нравится
  • +5
  • Проголосовать: не нравится

Автор Flvx, история, 20 месяцев назад, По-английски

The problem in question is problem and I have solved this using another approach, but I want to know why this two pointer approach does not work. Thanks

Полный текст и комментарии »

  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится

Автор Flvx, история, 21 месяц назад, По-английски

The following code despite being asymptotically fine, is still giving TLE on the 31st test case. I have tried everything, but I am not able to optimize this code further. I need inputs from more coders, any help would be appreciated. The problem link is this and my attempt is this (Incase the code is not readable, inform me I will format and edit in the code)

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится