Solving Water bottles problem in leetcode
There are numBottles water bottles that are initially full of water. You can exchange numExchange empty water bottles from the market with one full water bottle. The operation of drinking a full water bottle turns it into an empty bottle. Given the two integers numBottles and numExchange, return the maximum number of water bottles you […]
How to fix ‘undefined reference to’ using mingw32?
I’m trying to compile C code with python 3.11.5 64 bit with Mingw. I’m using Windows 10. but I’m getting the errors from undefined references. I was able to compile with python3.11 but with 32 bits. But I need it to be 64-bit, because I’ll be calling python functions that use libraries that only 64-bit supports, such as ultralytis.