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
/* | |
A Better Polynomial Template | |
by zzq | |
*/ | |
#pragma GCC optimize("-Ofast","-funroll-all-loops","-ffast-math") | |
#pragma GCC optimize("-fno-math-errno") | |
#pragma GCC optimize("-funsafe-math-optimizations") | |
#pragma GCC optimize("-freciprocal-math") | |
#pragma GCC optimize("-fno-trapping-math") | |
#pragma GCC optimize("-ffinite-math-only") |
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
#define CURL_STATICLIB | |
#pragma comment(lib, "E:/Windows Kits/10/Lib/10.0.18362.0/um/x86/ws2_32.lib") | |
#pragma comment(lib, "E:/Windows Kits/10/Lib/10.0.18362.0/um/x86/crypt32.lib") | |
#pragma comment(lib, "E:/Windows Kits/10/Lib/10.0.18362.0/um/x86/Wldap32.lib") | |
#pragma comment(lib, "E:/Windows Kits/10/Lib/10.0.18362.0/um/x86/Normaliz.lib") | |
#pragma comment(lib, "D:/greensoft/curl-7.68.0/builds/libcurl-vc-x86-release-static-ipv6-sspi-winssl/lib/libcurl_a.lib") | |
#include <cqcppsdk/cqcppsdk.h> | |
#include <curl/curl.h> | |
#include <algorithm> | |
#include <fstream> |
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
//Quine | |
#include <stdio.h> | |
#include <stdlib.h> | |
void __quine() | |
{ | |
printf("const unsigned char __data[]={"); | |
for(int i=0;i<sizeof(__data);i++) printf("%0#4x,",__data[i]); | |
printf("};\n\n"); | |
for(int i=0;i<sizeof(__data);i++) putchar(__data[i]); | |
exit(0); |
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 <iostream> | |
#include <stdio.h> | |
#include <math.h> | |
#include <string.h> | |
#include <time.h> | |
#include <stdlib.h> | |
#include <string> | |
#include <bitset> | |
#include <vector> | |
#include <set> |
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
//Data Generator Template | |
//WTFPL License | |
//by zzq | |
#include <iostream> | |
#include <stdio.h> | |
#include <math.h> | |
#include <string.h> | |
#include <time.h> | |
#include <stdlib.h> | |
#include <string> |