alt_1234AA's blog

By alt_1234AA, history, 21 month(s) ago, In English

I solved Subsequence LCM of Yesterdays Contest.

First I used map and "\n", it gave me tle

Then I used unordered map and "\n" gave AC.

wasted a lot of time :(.

Can anyone please tell me why this happened?

unordered_map Solution (AC): Link

Map solution (TLE) : Link

Thank you and have a nice day.

Full text and comments »

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

By alt_1234AA, history, 21 month(s) ago, In English

Hello Codeforces, hope you are all doing good and are safe.

I was upsolving Starters 41, I was supsolving Black and White from Codechef, my code is running well in all testcases except last one.

Please Help me in resolving my issue : Link

Thank you in advance. Please share your approach, it would be great if it is recursive dp, I am bad at iterative dp at current situation.

Thank you and have a nice day.

Full text and comments »

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

By alt_1234AA, history, 21 month(s) ago, In English

Good Evening/Afternoon/Morning everyone ( Basically, Salaam Dosto )

I am able to solve only subtask 1 of Max Shift After XOR. I am not able to understand the editorial given out there.

I asked in announcement on codeforces page about hints and approaches but no one replied. So I am writing a blog for help. Any please explain your approach and if you understood the problem please explain that too.

Thank you in Advance and sorry for my poor English.

And Have a nice day

Problem Link : link

Full text and comments »

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

By alt_1234AA, history, 21 month(s) ago, In English

Good morning/evening/afternoon everyone.

In the recent blog named titled as che------ert, I just commented the person and asked that wether he was involved in cheating or not.

But what I saw that after doing that, one newly created fake account started sharing the links of telegram groups. Its not the first time, I have seen it earlier they write post and comment like they are exposing the cheaters but they dont the right way, Instead of sharing screan shots or submission links, they directly share the telegram group links.

I know what they are trying to do, they are basically trying to promote their cheating groups.

This should be stopped. I am pretty sure that now many people will comment that ignore those blogs, yes I can ignore. But what about beginners who just started cp. Everyone loves getting +deltas, and begginers loves it more than others.

So when they dont get nice rank, in greed of +ive delta they just go to groups and start doing cheating. I dont mean that these participants are wrong, I mean that what if those groups were not made, those groups were not so known. If it was so then they would be enjoying the cp, rather than having greed of +ive delta.

So I think we have to look for some solution for blocking the group links which are being share in blogs.

And those who are reporting the cheater through blogs, please you please share submission link or share screen shot with group name blurred or cropped.

And one more thing please dont point any country, its about cheating not about country.

Thank you and hoping for nice solution of it in future and having healty cp community.

And if you think I said anything wrong please comment it below, so that everyone. Please dont downvote this blog, let this blog reach to everybody, so that we can have some solution.

Have a nice day!!

Full text and comments »

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

By alt_1234AA, history, 22 months ago, In English

Good evening/morning/night everyone.

I am facing one problem, I am getting $$ symbol, I mean maths part(like formulas, values) are not coming properly. I know few blogs are already written recently. But my issues is different, I dont get this issue in normal mode, but when I open problem in incognito mode then I get this issue.

I am using chrome and my internet is fast too.

Please give solutions/help for this problem.

And please dont downvote.

Thank you and have a nice day

UPDATE : Issue resolved thanks to ShivanshJ . Please refer the comment below.

Full text and comments »

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