%010lld is used to print it, hence padding. It should be %06lld instead. (also ulonglong is used to store it which is probably not required)
%010lld is used to print it, hence padding. It should be %06lld instead. (also ulonglong is used to store it which is probably not required)