HF RL Explorer

Task: PostgreSQL Integer Division and Ceiling Division

Task: PostgreSQL Integer Division and Ceiling Division: a task in Terminal-Lego-15k (Harbor dataset). In PostgreSQL, when you divide two integers, the result is also an integer (floor division). This means 16000 / 7500 returns 2 instead of the expected 3 (which represents the minimum number of…

The task

In PostgreSQL, when you divide two integers, the result is also an integer (floor division). This means `16000 / 7500` returns `2` instead of the expected `3` (which represents the minimum number of units needed to fully recover a cost).

Part of PrimeIntellect/Terminal-Lego-15k.