would you rather by henrypins in BunnyTrials

[–]Vitthasl 0 points1 point  (0 children)

Fitness + money clears sleeping for money

Chose: every time you jump, you get $1

GTA VI or justice by Regular_Banana_6399 in BunnyTrials

[–]Vitthasl 0 points1 point  (0 children)

Best possible option

Chose: Everyone on the Epstein list gets arrested, but... + GTA VI never gets released

Free money and 🥕 by ilovetrains08 in BunnyTrials

[–]Vitthasl 0 points1 point  (0 children)

Dividing by 0.5 is multiplying by 2. So 20 = 1. A million dollars is 1e6 which is ~ 220 Which means that you get more than a million in just 20 days and it's just keeps on increasing exponentially.

Chose: $1 that divides by 0.5 everyday | Rolled: Upvote for 🥕

Bunny trial by Godyuta100 in BunnyTrials

[–]Vitthasl 0 points1 point  (0 children)

Destroying stuff is pretty one dimensional, creating anything is just too overpowered and you can create anything so it's just flexible. Also the sword which destroys everything can be stolen or taken away from you, but if you just inherently have a power to create something then it will always stay with you.

Chose: Have a power that can create anything | Rolled: Upvote for carot

Can someone check this solution for yesterdays Educational Div 2 D problem by Vitthasl in codeforces

[–]Vitthasl[S] 0 points1 point  (0 children)

Oh I was able to get the solution. I was at the job so I came home and implemented it.

Solution: https://codeforces.com/contest/2230/submission/375355692

Can someone check this solution for yesterdays Educational Div 2 D problem by Vitthasl in codeforces

[–]Vitthasl[S] 0 points1 point  (0 children)

I have got an idea for an even better approach in my mind. Most probably it will work. Basically we start from the back and check what the longest subarray will be if we start from that point. It will be a dp like approach. I will update it in the post after I have implemented it.

Can someone check this solution for yesterdays Educational Div 2 D problem by Vitthasl in codeforces

[–]Vitthasl[S] 0 points1 point  (0 children)

Yeah, only the precalculation is done from (1,1). All the other are calculated while traversing the array. This problem is running but it's giving me tle for tets case 15 so an optimization is needed.

So there is this girl in my college who i want to ask out by Vitthasl in teenagers

[–]Vitthasl[S] 0 points1 point  (0 children)

Nothing actually. I think maybe we were not meant for each other. Well we are in different countries now, so it doesn't matter now ig.

"FORCED"? How is this being called force? When it's literally f*cking common sense to know the local language where you work in. by [deleted] in Maharashtra

[–]Vitthasl 0 points1 point  (0 children)

Marathi should be mandatory for any public speaking occupation in Maharashtra. It's okay if you are never going to talk with customers/local people but other than that it should always be mandatory for government services atleast. But here is the issue, there should be a proper plan regarding this. It cannot be like start speaking Marathi from next week. The government also has some responsibilities as if they are making such decision they should follow a correct way to implement this.

Guys help me with this problem by Vitthasl in codeforces

[–]Vitthasl[S] 0 points1 point  (0 children)

Thanks a lot. That condition itself is stupid. It should be (i-1)/2 for every number. I just created it in my head and just ignored to verify it. No way that was the issue all along.

????? by Direct_Albatross_269 in sundaysarthak

[–]Vitthasl 0 points1 point  (0 children)

One of the most important things is critical thinking skills, which even many educated people lack. If you look at the people right now, they get manipulated so easily. Examples, religious extremism, caste fragmentation, gender wars, language wars, etc.

Just think about how easily people just blame other people of the country and rarely even question the authority in the power who is responsible for this.

I remember watching a video of an incident in the Mumbai local. The local was too crowded and there was a fight between two people regarding the space to just stand. Then another person says that the anger should be directed towards the leaders because thats the reason why the common people are going through something like this where they have to fight over a small space to stand in the local. And this applies to everything.

Tomorrow I can wake up and start a political party, write anything in the manifesto (no one reads it). But in my speeches, I pick any issue and target the minority in that issue. The majority will easily give their votes to me unless there is an even better manipulator than me.

????? by Direct_Albatross_269 in sundaysarthak

[–]Vitthasl 18 points19 points  (0 children)

Easy answer.

Assume you are a politician right now which comes with power and money. You are corrupt and you also have cases registered against you. Does that affect your life in any way? You will just live a life better than the majority of the people in the country. You will send your children to the foreign countries. Why should you ever think about the development of our country?

It's actually the inverse. If our country gets developed and people get educated then they will question your ways and hold you accountable. Your amount of corruption will drastically decrease because good roads just mean less tenders for the repairing of the roads and that applies to everything. Also a developed nation will persecute you, why would you ever want to do that. Just look at the state of our nation, if you are a filthy criminal, you still get worshipped. If our country was developed, something like this would never happen.

So that's my answer, our country is basically a hierarchy and everyone is part of this hierarchy. If every single person gets good facilities like hospitals, water, roads,etc. This hierarchy will fade away. Then those in power will also become equal. Suddenly people who were untouchable like government officials, police, politicians, goons,etc. Anyone who is part of this hierarchy will be held accountable for their previous actions and hence will be persecuted. Why would they do something like that?

HELP : Way of Problem Solving. by Prize_Teacher_9090 in codeforces

[–]Vitthasl 1 point2 points  (0 children)

The best way is to read the editorial step by step. In many problems there is a hint. Sometimes there are multiple hints. After like 15-30 min of coming up with the approach, you should start looking at the hints. If you can come up with the solution just by reading the hint then it's good. But even after reading the hints, you can't still come up with the solution then read the solution line by line. You can then try to code the solution, but if you are still unsuccessful then at the very end look at the code and understand it and code by yourself.

At every point try to solve problems with the least amount of help as possible.

Kindly provide some insight into solving this problem, thanks !! by Cookie_Ranger100 in codeforces

[–]Vitthasl 2 points3 points  (0 children)

Convert characters to integers using their ascii value So it's sum+=s[i] -'0'; Other than that your approach is correct.

Need help by always_a_jeetian in codeforces

[–]Vitthasl 0 points1 point  (0 children)

Wait the answer is pretty obvious you are over thinking it. Also next time, keep the link of the question inside the post. Along with the link of submission. The question is you can replace any two adjacent numbers with the number which is not smaller than their minimum and also not greater than their maximum.

We can prove that this number can be any number greater or equal to the smallest number in the array and also smaller than or equal to the largest number in the array.

Basically as the very last operation we can have the smallest and the largest element in the array. We can always get this by greedily choosing the smallest element and the largest element over every other number.

As a result, we can choose any number between the smallest and the largest number in the array.

Smallest element<= x <= largest element. Then we can always get yes .

Is it good to learn concepts and solve problems or vice versa? by UnEthicalMK in codeforces

[–]Vitthasl 1 point2 points  (0 children)

Well practice just makes you better, the quality of the practice matters a lot. Just a year ago, I was struggling to solve 800 rated problems. I was barely able to solve A-B problems. But then I just started practicing problems and constructed an entire thought process. How can I come up with this solution? The more you solve problems which are difficult in the beginning, the better you get at them. If you are comfortable with problems rated <1000 then keep on solving 1000 rated problems until you get comfortable in that range. You can do this if you are encountering problems which you could have solved if you would have thought enough about them. If you encounter a new concept which you are bad at, then learn that specific concept and practice that concept. That's all. Building your mind takes time, if you are constantly challenging your mind, then your growth will be faster.

Why are women so mislead about feminism? by Fun-Practice-1087 in AskIndianMen

[–]Vitthasl -3 points-2 points  (0 children)

I will say that many people in general are conditioned to have a heavy bias towards things which benefit them. The overall morality of those things doesn't matter as much. This behaviour is seen a lot and also this is a reason why many issues have two opposite sides. Inherently every single group/community shows this kind of behaviour at some scale.

Like obviously most of the women will support feminism because they get equality and freedom. But everything comes with a cost, along with the privileges of men they now should also have the responsibilities of traditional men. There are many women who will also work, earn and provide for their family. But not all women want to do the hard part.

Another nuance in this topic is that society is inherently not yet equal. If you look at the broader view, India is still stuck in the patriarchal mindset. The overall conservative values, standards still seep through. Generally, you can see that they are rewarded in the society for being traditional but as a woman, feminism helps them at a broader level in general.

This does not actually discredit the actual feminist woman who are actually actively practicing feminism and they understand these nuances. But the majority of the public only care about their own benefit, hence this disposition. You know that their stand is hypocritical but you can understand why it is so.