Skip to content

Instantly share code, notes, and snippets.

View markrambow's full-sized avatar

Mark Rambow markrambow

  • nil
  • Berlin, Germany
View GitHub Profile
@asmuth
asmuth / fibonacci_find.c
Created April 2, 2012 20:12
smallest fibonacci sequence longer than 10 chars...
#include <stdio.h>
#include <string.h>
#define MIN_CHARS 10
int main(char *argv, int argc){
int i, m = 10, f[3] = {0,1};
for(i = MIN_CHARS; i > 2; i--){
m *= 10;