Skip to content

Instantly share code, notes, and snippets.

View hno's full-sized avatar

Henrik Nordström hno

View GitHub Profile
@hno
hno / jasonfriday2.c
Last active January 17, 2017 00:38 — forked from russross/jasonfriday2.s
C & ARM Assembly solution to a math puzzle
/* C version loosely based on jasonfriday2.s
*
* Compile on almost any computer using
* gcc -O3 -std=c99 -o jasonfriday jasonfriday2.c
*
* Henrik Nordstrom <henrik@henriknordstrom.net> (github user hno)
* January 17, 2017
*/
#include <stdio.h>
#include <stdlib.h>