Can anyone share some practice problem for Mo's Algo like i got 1 while practice https://codeforces.com/problemset/problem/1514/D
Can anyone share some practice problem for Mo's Algo like i got 1 while practice https://codeforces.com/problemset/problem/1514/D
I was solving a problem from Leetcode https://leetcode.com/problems/count-pairs-of-points-with-distance-k/
In this problem i am only checking from (i to i+100) and it passed , i not have any proof how pair will exist only till i+100,can anyone provide any proof or intuition.
If you have segment tree problems in rating range 1800-2000, please share in this blog post, I seen few posts of CF but in that there are very few problems of these difficulty range.
In my vs code sometimes indentation automatically get shifted , like after while loop brackets when i click enter it should give 4 spaces but it give only 1 , and this error itself go in few hours. what is reason for this so i can fix it?
This question came in At coder begineer contest
https://atcoder.jp/contests/abc280/tasks/abc280_e
Can anyone Explain it
This problem came in Codechef Starters , i am confused with edotrial :
This Question logic implemenation is easy , but as test case is very large so it is not able to pass in 2 seconds even after Meomizing the answer.
Images :