We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

abhishekmittal15 • 2 years ago

Hey, I have 2 doubts
1. why do we need to use std::function when we have already declared at the top that we are using std ;
2. you have included the bits/stdc++.h library, but what are the actual libraries that are needed to make this cpp file run

Ken_Fool • 2 years ago

If you google for std::function: cpp-reference will show you that you can find

std::function is

Defined in header <functional>