Skip to content

Instantly share code, notes, and snippets.

View shonenada's full-sized avatar
🤷‍♂️
Focusing

Yaoda Liu shonenada

🤷‍♂️
Focusing
View GitHub Profile
#include <unistd.h>
#include <stdarg.h>
#include <time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
int tprintf(const char* fmt, ...);
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <time.h>
int tprintf(const char* fmt, ...);
#include <unistd.h>
#include <stdarg.h>
#include <time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
pid_t create_process(void(*ptr) ());
#include <unistd.h>
#include <stdarg.h>
#include <time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
// 定义最大子进程数量
#define MAX_PROCESS_NUM 100
#include <stdio.h>
#define PI 3.1415926535898
#define sqrt2 1.41421356237
double fabs(double input){
return input > 0 ? input : (-input);
}
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <string.h>
#include <time.h>
#define getpch(type) (type*)malloc(sizeof(type))
typedef struct pcb PCB;
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
#include <time.h>
#define ret printf("\n")
#define spa printf(" ")
#define hli printf("-")
#define vli printf(" |")
import os
import sys
import comtypes.client
def main():
in_file = os.path.abspath(sys.argv[1])
out_file = os.path.abspath("%s.pdf" % sys.argv[1])
try:
word_application = comtypes.client.CreateObject('Word.Application')
import os
import sys
import comtypes.client
def main():
in_file = os.path.abspath(sys.argv[1])
out_file = os.path.abspath("%s.pdf" % sys.argv[1])
try:
powerpoint_application = comtypes.client.CreateObject('Powerpoint.Application')
#include <stdio.h>
#include <gsl/gsl_matrix_double.h>
#include <gsl/gsl_vector_double.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_cblas.h>
#include <gsl/gsl_eigen.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_sort_vector.h>
#include <gsl/gsl_sf.h>