码迷,mamicode.com
首页 >  
搜索关键字:define    ( 25272个结果
2018 ACM-ICPC World Finals Gym-102482C Conquer the World
题目传送门 分析: 费用流,然而不会优化,在线膜拜大佬的博客OrzOrzOrz #include<cstdio> #include<cmath> #include<cstring> #include<algorithm> #include<vector> #include<queue> #defin ...
分类:其他好文   时间:2020-06-26 16:28:00    阅读次数:54
带垂直和水平滚动条的系统度量展示程序
/* sysmets.h -- system metrics display structure */ #define NUMLINES ((int) (sizeof sysmetrics / sizeof sysmetrics[0])) struct { int iIndex; TCHAR* sz ...
分类:其他好文   时间:2020-06-26 14:54:23    阅读次数:48
Luogu3703 SDOI2017树点涂色
#include<bits/stdc++.h> using namespace std; #define int long long namespace yspm{ inline int read() { int res=0,f=1; char k; while(!isdigit(k=getchar ...
分类:其他好文   时间:2020-06-26 11:06:32    阅读次数:48
Educational Codeforces Round 90 (Rated for Div. 2) A~C
直接判断单价和单买就可以 #include<bits/stdc++.h> #include<string.h> using namespace std; #define rep(i,j,k) for(LL i=(j); i<(k); ++i) #define pb push_back #define ...
分类:其他好文   时间:2020-06-26 10:58:28    阅读次数:67
FFMPEG ffmpeg + cocos2d video test
.h { #ifndef __AVDIO_H__ #define __AVDIO_H__ #include "cocos2d.h" using namespace cocos2d; #include <string.h> #include <iostream> #include "cocos/ui/ ...
分类:其他好文   时间:2020-06-25 23:16:56    阅读次数:50
Codeforces Round #642 (Div. 3) E、F
K-periodic Garland 题目链接:https://codeforces.com/contest/1353 题目大意: 给你一个长度为 n 的 01 字符串和一个整数 k,每次操作你可以选择一个字符并改变其状态,要使字符串中相邻 1 的距离为 k,问最少需要操作几次。 想法: 我们设 d ...
分类:其他好文   时间:2020-06-25 23:09:52    阅读次数:62
Gauss高斯消元——模板
就是线性代数的初等行变化: 倍加。 倍乘。 交换行。 #include <bits/stdc++.h> #define mp make_pair #define pb push_back using namespace std; typedef long long ll; typedef pair< ...
分类:其他好文   时间:2020-06-25 21:24:54    阅读次数:60
luogu P3376 【模板】网络最大流 模板
#include <iostream> #include <cstdio> #include <cstring> #define N 200005 using namespace std; #define int long long int n,m,S,T,tmp1,tmp2,tot; int id ...
分类:其他好文   时间:2020-06-25 13:31:36    阅读次数:58
单链表相关操作
#include <stdio.h> #include <stdlib.h> #define LEN sizeof(struct node) typedef struct node{ int data; struct node *next; }List; List *selectsort(List ...
分类:其他好文   时间:2020-06-25 10:12:54    阅读次数:53
E. DeadLee 思维 贪心 cf官方答案代码详解
#include <bits/stdc++.h> #define ll long long #define fr first #define sc second #define pii pair<int, int> #define all(v) v.begin(), v.end() using na ...
分类:其他好文   时间:2020-06-25 09:24:44    阅读次数:104
25272条   上一页 1 ... 68 69 70 71 72 ... 2528 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!