Комментарии
На awooEducational Codeforces Round 171 Editorial, 8 месяцев назад
0

Very nice implementation this!! Much better than what i have written.

На yseCodeforces Round 1029 (Div. 3) Editorial, 11 месяцев назад
0

https://mirror.codeforces.com/contest/2117/submission/323528702

Someone please check if this solution for problem E is hackable. Thanks!

На awooEducational Codeforces Round 159 Editorial, 11 месяцев назад
0

Hi! I noticed this as well, but (forgive me if this question seems stupid) is there any way I can use this observation to solve the question?

Thanks!

На Tanzim_bnProblem of the Year 2024, 16 месяцев назад
0

Indeed, this is one of the best questions I came across this year.

На kartik8800CSES Range Queries section editorial, 17 месяцев назад
0

For those who are content with offline algorithm for Salary Queries

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

For people in Indian time zone, he does have 449 day streak. Your time zone is probably different.

На AVdovinРазбор Codeforces Round 991 (Div. 3), 17 месяцев назад
0

https://mirror.codeforces.com/contest/2050/submission/295436206

Your solution with a slight change.

Do let me know if you can't figure it out.

На MaaxleCSES Range Queries solutions, 17 месяцев назад
0

Oh ok. Thanks!!

На MaaxleCSES Range Queries solutions, 17 месяцев назад
0

Is there anywhere I can learn about this technique and maybe practice some more problems related to this technique?

На awooEducational Codeforces Round 171 Editorial, 18 месяцев назад
-16
На awooEducational Codeforces Round 171 Editorial, 18 месяцев назад
-8
На mainyutinCodeforces Round 938 (Div. 3) Разбор, 18 месяцев назад
0

Thanks for the suggestion. I will try this out

На mainyutinCodeforces Round 938 (Div. 3) Разбор, 18 месяцев назад
0

https://mirror.codeforces.com/contest/1955/submission/288436719

I have done the exact same thing! Any idea why my code gives a TLE?

What is it I am missing?

На FBICodeforces Round 981 (Div. 3), 18 месяцев назад
0

Yes, but I thought that since I am using map, so maybe there might be some testcase that can cause a TLE? 1983ms runtime on a qn with 2s limit seems hackable no?

На FBICodeforces Round 981 (Div. 3), 18 месяцев назад
0

Can someone please hack this solution?

https://mirror.codeforces.com/contest/2033/submission/287788123

Thanks!

На FBICodeforces Round 981 (Div. 3), 18 месяцев назад
+1

Given the constraints you can simply use a vector to do what you are doing with the unordered map.

For your reference : https://mirror.codeforces.com/contest/2033/submission/287790082

Hope it helps!!

Auto comment: topic has been updated by AARYABHATTA_THE_GREAT (previous revision, new revision, compare).

WOW!! That was a very dumb mistake.

Thanks a lot, understood my mistake now.

На ShayanCodeforces Round 978 (Div. 2) — Video Tutorial, 19 месяцев назад
0

Watch Shayan's Stream. He says that it is a famous prob. Many in the comments were also saying the same.

На ShayanCodeforces Round 978 (Div. 2) — Video Tutorial, 19 месяцев назад
+4

People are saying that problem B is quite a famous and standard prob. Can someone suggest some sources where I can make myself familiar with more of these famous and standard problems? Thanks!

На 123gjweq2Can you solve this easy problem?, 19 месяцев назад
0

Option 2 because I get a 1/1000 probability to live the way I do forever..

0

https://cp-algorithms.com/graph/2SAT.html

This is where I learned 2-SAT. Came across this concept while solving the CSES problem set.

0

Auto comment: topic has been updated by AARYABHATTA_THE_GREAT (previous revision, new revision, compare).

0

Thanks! I got the mistake now.

0

Oh Ok. I'll check your solution

It is a simple recursion problem. Assuming you understand basic recursion, this should help you understand https://atcoder.jp/contests/abc374/submissions/58460153

На Little_Sheep_Yawn[Milestone] Seems to be a Step for Me, 20 месяцев назад
+4

This is probably the stupidest comment i have seen on this platform.

Since its 2.5 hrs instead of 2, is it safe to assume that the contest might be a little harder than usual?

На cryCodeforces Round 971 (Div. 4) Editorial, 20 месяцев назад
0

Apart from E which question needed Binary Search?

На Pa_shaCodeforces Round 970 (Div. 3), 20 месяцев назад
0

D was not so easy, but at the the same time, it should not have taken me a whole half hour to solve.

And if you are wondering how so many people submitted D, the solution for D was -

1) -> Easily solvable by chatgpt. The problem setters did not check to see if chatgpt was able to solve the prob or not.

2) -> Leaked within the first 10 minutes of the contest(I think) because, I have know a noob guy from my college, who does not have any clue about even basic BFS and DFS, but submitted the B,C and D within 13 minutes!!

So yeah, that should answer your question.

На MikeMirzayanovTesting Round 19 [unrated registration testing], 20 месяцев назад
0

Thank you very much!! I understood now.

На MikeMirzayanovTesting Round 19 [unrated registration testing], 20 месяцев назад
0

https://mirror.codeforces.com/contest/2010/submission/278562743

This is my submission for C1

Can someone please explain why my answer for test case 114 is wrong?? Cause it seems correct to me..

На zltzltCodeforces Round 968 (Div. 2), 20 месяцев назад
0

Thanks bro

На zltzltCodeforces Round 968 (Div. 2), 20 месяцев назад
0

Can you share the link for this well known problem if you have it?? Thanks!!

joto ami jani ar shunechi, all you need to do now is just practice more and more and spam as many practice questions as you can. Skillwise I think you are already specialist level. I think you have solved enough 800 level difficulty probs. Maybe shift focus to 1000-1400 range difficulty probs?

Also I think learning a bit of DP would help.

All the best!! Hope you reach specialist soon!!

https://mirror.codeforces.com/contest/1983/submission/269611660 This is my submission for problem C. Can someone point out what is wrong in my code??