码迷,mamicode.com
首页 >  
搜索关键字:define    ( 25272个结果
promise 理解
对promise 的一些见解, 1.Promise是一种为了避免回调地狱的异步解决方案 2.Promise是一种状态机: pending(进行中)、fulfilled(已成功)和rejected(已失败) 只有异步操作的结果,可以决定当前是哪一种状态,任何其他操作都无法改变这个状态。 3.Promi ...
分类:其他好文   时间:2020-05-12 22:05:05    阅读次数:115
https://vjudge.net/contest/372814#problem/E
https://vjudge.net/contest/372814#problem/E n=15考虑状压dp #include <bits/stdc++.h> #define inf 2333333333333333 #define N 1000010 #define p(a) putchar(a) ...
分类:Web程序   时间:2020-05-12 20:24:13    阅读次数:82
luogu P1346 电车 最短路
``` #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define ... ...
分类:其他好文   时间:2020-05-12 18:53:11    阅读次数:64
基于单向链表的队列的实现
1.单链表实现 slist.h 1 #ifndef _SLIST_H 2 #define _SLIST_H 3 4 typedef struct _slist_node 5 { 6 struct _slist_node *p_next; /* 指向下一个结点的指针 */ 7 }slist_node_ ...
分类:其他好文   时间:2020-05-12 09:35:44    阅读次数:49
[LeetCode] 1442. Count Triplets That Can Form Two Arrays of Equal XOR
Given an array of integers arr. We want to select three indices i, j and k where (0 <= i < j <= k < arr.length). Let's define a and b as follows: a = ...
分类:其他好文   时间:2020-05-12 09:30:41    阅读次数:59
luogu P3413 SAC#1 - 萌数 数位dp
``` #include #include #include #include #define ll long long #define MD 1000000007 using namespace std; int s1[1005],s2[1005]; int st[1005]; ll f[1005... ...
分类:Windows程序   时间:2020-05-11 21:49:29    阅读次数:72
luogu P4127 [AHOI2009]同类分布 数位dp
```#include#include#include#include#define rint register intusing namespace std;typedef long long ll;int mod,a[20];ll l,r,dp[19][163][163];inline ll d... ...
分类:其他好文   时间:2020-05-11 20:23:46    阅读次数:65
centos7搭建wordpress博客
安装apache 启动apache 设置apache开机自启 访问公网地址检测apache是否正常 安装MySQL数据库 启动MySQL数据库 查看MySQL运行情况 查看MySQL初始密码 登录数据库 修改MySQL默认密码 创建wordpress数据库 查看数据库是否创建成功 退出MySQL数据 ...
分类:其他好文   时间:2020-05-11 14:58:09    阅读次数:104
NTT板子
```cpp #include #include using namespace std; #define R register #define LL long long const int inf=0x3f3f3f3f; const int MAXN=4e6+10; inline int read... ...
分类:其他好文   时间:2020-05-11 13:20:34    阅读次数:59
FFT板子
```cpp #include #include #include #include #include using namespace std; #define R register #define LL long long const int inf=0x3f3f3f3f; const int M... ...
分类:其他好文   时间:2020-05-11 11:43:39    阅读次数:47
25272条   上一页 1 ... 94 95 96 97 98 ... 2528 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!