divmod.cpp 177 Bytes Raw Blame History Permalink 1 2 3 4 5 6 int main(int argc, char const *argv[]) { signed long long a = 123456789, b = 12, c = a / b, d = a % b; unsigned long long e = 123456789, f = 12, g = e / f, h = e % f; }