Do not use #include<bits/stdc++.h>, it only works for UNIX systems. You should strongly prefer to use #include <algorithm> instead.
#include<bits/stdc++.h>
#include <algorithm>
Not necessary. I've used #include on Windows and it works perfectly fine
What compiler have you used? I think you should read this stackoverflow.com/questions/318160...
IDE: CodeBlocks Compiler: MS Visual C++. I have tried #include in vs code and it doesn't work.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Do not use
#include<bits/stdc++.h>, it only works for UNIX systems. You should strongly prefer to use#include <algorithm>instead.Not necessary. I've used #include on Windows and it works perfectly fine
What compiler have you used? I think you should read this stackoverflow.com/questions/318160...
IDE: CodeBlocks
Compiler: MS Visual C++.
I have tried #include in vs code and it doesn't work.