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
const int main[] = { | |
-476053503, -443744256, -442695680, -494927871, | |
-443744256, -476045300, -509603825, -494858196, | |
-476053503, -476024828, -285212672, -352321537, | |
-442695680, -481296284, -905969664, -352321551, | |
-476053504, -476024831, -285212672, 1819043176, | |
1634017391, 174617714, -1610612736, 805248739, | |
225, 2147483420, 1 | |
}; |
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 <math.h> | |
#include <assert.h> | |
#include <png.h> | |
#ifdef NDEBUG | |
#error "Don't turn NDEBUG!!" | |
#endif |
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 <math.h> | |
#include <assert.h> | |
#include <png.h> | |
#ifdef NDEBUG | |
#error "Don't turn NDEBUG!!" | |
#endif |
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
/* REPLY CHALLENGE | |
* | |
* Minimal deterministic parser | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#define ERROR(...) fprintf(stderr, __VA_ARGS__) | |
#define UNEXPECTED(x) {\ | |
if (x!=TOK_ERR) \ |
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
/* Tiny calc | |
* | |
* Copyright (c) 2021 Al-buharie Amjari <[email protected]> | |
* | |
* This file is license under MIT license | |
* | |
*/ | |
#include <ctype.h> | |
#include <stdio.h> |
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
/* | |
DO WHAT THE FUCK YOU WANT TO BUT IT'S NOT MY FAULT PUBLIC LICENSE | |
Version 1, October 2013 | |
Copyright (c) 2020 Al-buharie Amjari <[email protected]> | |
Everyone is permitted to copy and distribute verbatim or modified copies | |
of this license document, and changing it is allowed as long as the name | |
is changed. | |
DO WHAT THE FUCK YOU WANT TO BUT IT'S NOT MY FAULT PUBLIC LICENSE TERMS |
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 <math.h> | |
#include <png.h> | |
#include <assert.h> | |
struct vec3D { | |
double x,y,z; | |
}; |
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 <math.h> | |
#include <png.h> | |
#include <assert.h> | |
int width, height; | |
int main(int argc, char *argv[]){ | |
if (argc != 4) {printf("usage: %s Pz c r\n", argv[0]); return 1;} |
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 <png.h> | |
int width, height; | |
int main(){ | |
width = 1500; height = 1000; | |
char filename[] = "t.png"; | |
/*open stream */ |
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
/* | |
DO WHAT THE FUCK YOU WANT TO BUT IT'S NOT MY FAULT PUBLIC LICENSE | |
Version 1, October 2013 | |
Copyright (c) 2020 Al-buharie Amjari <[email protected]> | |
Everyone is permitted to copy and distribute verbatim or modified copies | |
of this license document, and changing it is allowed as long as the name | |
is changed. | |
DO WHAT THE FUCK YOU WANT TO BUT IT'S NOT MY FAULT PUBLIC LICENSE TERMS |