Which libraries are included by default in the C++ code?

  • 0

    I want to use std::numeric_limits::min() which is available in the limits standard library. But I don't see a way to include that in my code. Is there any option to do so?

  • 3

    Never mind, I just tried using std::numeric_limits<int>::min() in my code and it worked. Seems like a bunch of libraries are included by default. I think however it would make sense to mention this in the FAQ.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.