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

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

Can anyone help me with how to approach this problem?
I am completely blank on how to proceed.
I tried reading the editorial but couldn't understand it.

Problem Link

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

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

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

Hi Codeforces Community,
I have made an extension to be able to practice speed problem solving on Codeforces.



It can set a timer within Codeforces site so that you get the native contest like feel but for an individual problem.
You can select different timers. Once selected, if you open any problem from Problem set or Contest it will automatically start the timer if it is a new problem for you.

I am not writing much here because I have already written instructions on the github repo.

Suggestions, improvements, and Pull Requests are welcomed!
Looking forward to hearing from the community

Update:
Custom Timer Added.

Thanks!

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

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

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

I am looking for some way to get specific level problems(C,D,E..) from specific type of contests(Beginner, Regular,..).
I could filter by type of contest on vjudge.net but don't know if vjudge can filter level of problem too.
Can someone help, please?
Is there any other site which lists AtCoder problems by level and contest?

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

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

Автор adzo261, история, 6 лет назад, По-английски

Can someone please help me in solving D. of today's Atcoder beginner contest.
Editorials are not available in English and I am not able to approach this problem on my own.

Problem Link

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

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

Автор adzo261, история, 6 лет назад, По-английски

I was not able to think of a solution to this problem.
I tried to understand the editorial, but couldn't understand.
Can someone please explain to me it more clearly?

Problem Link
Editorial

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

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

Автор adzo261, история, 6 лет назад, По-английски

I am getting a runtime error on test case 6. Since it is a large test case, I am unable to find what's giving RE in my code.

Can someone please have a look at my code, or give me some small test case similar to case 6.

Link to my solution

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

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

Автор adzo261, история, 6 лет назад, По-английски

In normal Nim game, the player taking the last object wins.
And terminal position here is always a P -position.
Now, I have a question where you are given the terminal P and N positions unlike the only terminal condition in normal Nim.
Is this a variation of Nim? If yes, how to analyze it, how should I go about assigning grundy numbers?

Formally:
I have n heaps with represented by a set S={a1,a2,a3, .... an}.
And, I have a set T which gives terminal positions and tell whether it is a P-position or N-position.
One element of the set can be {{k1,k2,k3, .... kn},P}
where,
k1<=a1
k2<=a2
k3<=a3
.
.
kn<=an

It means the set {k1,k2,k3, .... kn} is a terminal position.
And, the second parameter denotes either 'P' or 'N' as P-position or N-position.

Can this be made equivalent to Nim?
How to analyze this?

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

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

Автор adzo261, история, 6 лет назад, По-английски

Can someone please help me on how to arrive at the conclusion stated in the editorial?

Link to the problem

Link to the editorial

Thanks!

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

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

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

Can someone help me with Div 2 problem C of 468? I am unable to understand the editorial. Is there any easier approach, what is the thinking involved here? Thanks in advance!

Problem

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

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