- ansible://milkyway.universe/FasterPussycat
This file contains 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
#!/usr/bin/env bash | |
set -e | |
tmpdir=$(mktemp -t -d advcp.XXXXXX) | |
cd ${tmpdir} | |
wget https://aur.archlinux.org/packages/ad/advcp/advcp.tar.gz | |
tar xf advcp.tar.gz | |
source advcp/PKGBUILD |
This file contains 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" | |
int InBlock[81], InRow[81], InCol[81]; | |
const int BLANK = 0; | |
const int ONES = 0x3fe; // Binary 1111111110 | |
int Entry[81]; // Records entries 1-9 in the grid, as the corresponding bit set to 1 | |
int Block[9], Row[9], Col[9]; // Each int is a 9-bit array |