In C++ type name uint64_t is declared in header <cstdint> and is usually a typedef for unsigned long long. So you can use format specifier ll
From the C Standard
ll (ell-ell) Specifies that a following d, i, o, u, x, or X conversion specifier applies to a long long int or unsigned long long int argument; or that a
following n conversion specifier applies to a pointer to a long long int
argument.