#include <iostream> #include "misc.h" int divide_and_round_up(int const n, int const d) { if (n % d == 0) { return n/d; } return (n/d + 1); }