L如果你害怕失敗,那你很有可能會失敗。 If you’re afraid to fail, then you’re probably going to fail. C++排序算法的实现 头文件 cpp #ifndef OPP_CSORT_CSORT_H #define OPP_CSORT_CSORT_H class Csort { private: int part(int* arr,int l,int r); int aux[362880]; void MergeAux(int arr[],int l,int mid,int r); long int factory[11]={1,1,2,6,24,120,720,5040,40320,362880,3628800}; bool Cantor(int
L如果你害怕失敗,那你很有可能會失敗。 If you’re afraid to fail, then you’re probably going to fail. 线性表开篇头文件 cpp //Liner.h #pragma once #include<iostream> #include <cstdio> #include<cstdlib> typedef int Status; #define maxn 100 typedef int ElemType; typedef struct { ElemType data[maxn]; //数组基地址类型 int
L如果你害怕失敗,那你很有可能會失敗。 If you’re afraid to fail, then you’re probably going to fail. 矩阵加速模版 cpp #include <iostream> #include <fstream> #include <cstring> #define _rep(i,a,b) for(int i=(a);i<=(b);++i) #define _for(i,a,b) for(int i=(a);i<(b);++i) #define MAXN 105 const int mod = 1e9+7; using namespace std; int MatrixN ; inline long long read(){ long
L如果你害怕失敗,那你很有可能會失敗。 If you’re afraid to fail, then you’re probably going to fail. 生成hexo用md脚本 shell #!/bin/bash if [ "$#" -gt 4 ]; then echo "使用方法: $0 [标题] [类别]