Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
One further issue is that you're using "g" for gallons, but this is the SI symbol for grams. The standard symbol for gallons (both US and Imperial) is "gal".
You need to be more specific (and less parochial) about units. E.g. your gallons appear to be US gallons, but the most of the world uses imperial gallons. This applies to a number of different measures, mainly of volume. See: https://en.wikipedia.org/wiki/Comparison_of_the_imperial_and_US_customary_measurement_systems. Also "English" is the wrong way to describe US/Imperial units.
Just to follow up on this - my NASM solution was failing because it wasn't handling edge cases with large negative values properly. What threw me was that the same logic was working for a similar solution in C, so I suspect that the C test cases are lacking test cases with large negative values, otherwise some of the existing C solutions would fail. The NASM test cases are good.
Hi - sorry, I think I may have been mistaken - it's probably my code after all.
The test cases for NASM seem to be completely wrong