Any one having good c++ templates link? please provide, specially geometry!
make your own will help you best
no matter what happens , just include this line ;-
#define endl ‘\n’
Make your own ! because you would be familiar with what you have used in it!!! anyways you can see top performers code always to see there template and copy!!!
thats bad, ‘\n’ and endl might serve same purpose on surface but they work differently. endl does more than ‘\n’
Do add fast I/O
But i have experienced that ‘\n’ is faster than endl !
yeah extactly it is faster than endl
‘\n’ is faster than endl because it does less work, I recommend to not use that define, instead just type ‘\n’ whenever u need to start a new line. You can google about differences between both.
Arey the thing is that im used to endl so much that i defined that statement atop of my template. I came across the diff of the two while solving a problem. Whatever u sayin is correct !