Video
Unknown · 0:00
In C++, comparing a long long with a double quietly converts the integer to a double. Once values get large, this loses precision and can make a custom sort comparator inconsistent, which is undefined behavior for std...
Unknown · 0:00
In C++, comparing a long long with a double quietly converts the integer to a double. Once values get large, this loses precision and can make a custom sort comparator inconsistent, which is undefined behavior for std...
Redirecting...