Комментарии
На flash_7Digit DP, 6 месяцев назад
0

Nice one

На jeroenodbCongratulations to Dominater069 for reaching LGM!, 6 месяцев назад
0

Congratulation Bro, Grow more higher

Nice Job man really appreciated

На zltzltTeza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2), 13 месяцев назад
0

Expecting increase

На errorgornGoodbye TheScrasse, 13 месяцев назад
0

Finally a coder with Gf Really happy for you TheScrasse

На k1saraCodeforces Round #1014 (Div. 2) Editorial, 13 месяцев назад
0

Lets say u have all the numbers odd or even then the answer is the max this u can easily see as odd + odd = even & even + even = even. Now consider the maximum number to be odd lets say the array is 21 11 9 2 then when we consider 21 as the maximum value then when we add 2 to it becomes 22 and 2 becomes one thus no even number left but then even + odd = odd so 11 becomes 10 so it alternates so all the even numbers eventually become 0 and odd numbers become equal to 1. Then if the maximum number is even eventually you will see the number you have to minus is (count of odd-1) if you just use and example.... Sorry Didn't provide with a mathematical proof.

На soulllessWhere is the April fool contest?, 13 месяцев назад
0

It comes back

На k1saraCodeforces Round 1014 (Div. 2), 13 месяцев назад
0

Expecting Increase

На l-_-lCodeforces Round 1013 (Div. 3) Editorial, 13 месяцев назад
+1

If we used dp[i][y][0], it would mean we are still in the state where only one hold is selected, which contradicts the fact that we are selecting the second hold at y.

We need to transition to the state where two holds are used, which is captured by dp[i][y][1].

На l-_-lCodeforces Round 1013 (Div. 3) Editorial, 13 месяцев назад
+9

F has a nice explanation

На Diall_Codeforces Round 1013 (Div. 3), 13 месяцев назад
0

Good Luck Guys...

На AksLolCodingLet's Settle This, 13 месяцев назад
0

Tester or Hacker

Firstly we will select 1 17 16 and make the sequence 1 9 10 11 10 15 14, then select 10 15, and make it 12 13 so the final sequence will be 1 9 10 11 12 13 14. so the answer is 2

На omsincoconutCodeforces Round 1008 (Div. 1, Div. 2) Editorial, 13 месяцев назад
0

Yah, its pretty tough I don't have a solution for now but will definitely find a solution..

Good luck guys

На omsincoconutCodeforces Round 1008 (Div. 1, Div. 2) Editorial, 13 месяцев назад
0

Now we know how to get the max score in those games

На omsincoconutCodeforces Round 1008 (Div. 1, Div. 2) Editorial, 13 месяцев назад
0

Can someone help me out for the transition of the dp state in D if we consider negative gate values with k skips of gate.

На thespaceI somehow hacked 36 times, 13 месяцев назад
+1

Nevertheless I guess they will have gotten Wrong answers in further test cases.. Well nice hacks

На chromate00Codeforces Round 1009 (Div. 3) — Editorial, 13 месяцев назад
0

Nice contest to understand triangles in depth and C was really nice for a XOR question

На omsincoconutCodeforces Round 1008 (Div. 1, Div. 2), 13 месяцев назад
-10

Expecting increase

На Vectors_MasterCodeforces Round 1007 (Div. 2) Editorial, 14 месяцев назад
0

Just Use Post Order Traversal from the end point and print the order. IG it works because when you try to the solve from the end point you have limited nodes to work with like 1 distance from end node and then 2... and so on.

На saptarshikuar2003Help!!!!, 14 месяцев назад
0

Try to think simpler in contest,do as the question says and try to think what effect does the operations or the logic does in the code. If it is to find a answer try binary search, if it is to calculate minimum or maximum try dp, think greedy in A and B

На CF_contest_practice_2When will the rating rollbacks occur ?, 14 месяцев назад
0

I think It did this month

На yunetive29Codeforces Round #1002 Editorial, 14 месяцев назад
0

The array would look like [25, 1, 0,2] . I will stand on the queue for the 3rd then at last For 2nd at before last and for 2nd as you can sss

На chromate00Codeforces Round 1000 (Div. 2), 15 месяцев назад
0

Let's go We are in the new era

0

If i can't do the question in 2 to 3 hours usually I take break and move to something else till I get fresh

Should we change the 4000+ name to something else now????

D was a good implementation of use of heaps

На _MyAngelGasaiWhat music do you hear when you lock in?, 15 месяцев назад
0

Let Her Go

На _istilGood Bye 2024: 2025 is NEAR Editorial, 16 месяцев назад
0

tried using dp to store the results but not working

На _istilGood Bye 2024: 2025 is NEAR Editorial, 16 месяцев назад
0

Can it be tried using the recursion? If we can reduce the TC somehow?

На _istilGood Bye 2024: 2025 is NEAR Editorial, 16 месяцев назад
-15

C and D was difficult or I fckd up

На Dominater069ICPC India Kanpur 2024 Problems and Editorial, 16 месяцев назад
0

Congratulation to all the winners

На Little09Codeforces Global Round 28, 16 месяцев назад
+14

expecting increase

На parth.agarwalBreaking My 449-Day Codeforces Streak, 16 месяцев назад
+1

Congrats , bro really happy for you Achieved what you worked so hard was worth it in the end I guess

На Igor_ParfenovCodeforces Round #992 (Div.2) Editorial, 16 месяцев назад
0

dreams are illusion or future

На Igor_ParfenovCodeforces Round #992 (Div.2) Editorial, 16 месяцев назад
0

Maybe dreams are just form of illusion or they are the future

На Igor_ParfenovCodeforces Round 992 (Div.2), 16 месяцев назад
0

tried implementing the same

На Igor_ParfenovCodeforces Round 992 (Div.2), 16 месяцев назад
0

really thought so

На Igor_ParfenovCodeforces Round 992 (Div.2), 16 месяцев назад
0

how did u assigned nodes

На Igor_ParfenovCodeforces Round 992 (Div.2), 16 месяцев назад
0

C was way too tough ig

На Igor_ParfenovCodeforces Round 992 (Div.2), 16 месяцев назад
0

Expecting increase in rating

На pwnedTrain Better with ThemeCPs (+ Website)!, 17 месяцев назад
+8

I couldn't add my account Please can you help