This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* access the array b at row d, column e. Allow extra index parts before the | |
* closing bracket. Usually used as I] to get b[d * g + e]. All occurances of | |
* this macros are commented in the next parts. | |
*/ | |
#define I b[d*g+e | |
/* int */ a; /* updated content of cell at b[d*g+e] */ | |
/* int */ b[65536]; /* array containing the board */ | |
/* int */ c; /* cleared if the flood-fill fills something, score */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <stdbool.h> | |
#include "image.h" | |
#include "ppm.h" | |
#include "databuffer.h" | |
#include "rangecode.h" |