Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <limits.h>
#define Start (1)
#define Iterations (sizeof(unsigned long long)*8)
int sum_digits(unsigned long long i) {
if (i<=9) return i;
static char _buf[512] = {0};
char *p = &_buf[0];