Updated template and template_demo.cpp #57
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi there Rachit, I recently saw your video on youtube regarding competitive programming tips, where you discussed your cp code file. I cherry-picked those macros which I was able to understand. Your video helped me a lot. But after picking some of the macros out when I compiled my code file, I encountered an error regarding in the expansion of pl which was the by default namespace given for typedef pair<ll,ll> pl; but because the template also had #define pl printf("%lld",x) , the pl naming was not working out for both instance, so i just named the typedef one as pll, and it solved the issue. It would be great if you can comment on this, whether my finding was because of wrong reason, or right. It would be very helpful. And thank you for making videos on youtube, your videos have helped me lot, to start my journey in cp.