Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <stdlib.h>
int n;
int *rows = NULL;
// Initialize global arrays
void init_glob (int n)
{
int i = 0;
#include <stdio.h>
#include <stdlib.h>
int n;
int **chess_desk = NULL;
struct dir_t {
int x;
int y;
} dirs[8] = {