码迷,mamicode.com
首页 > 其他好文 > 详细

基本模版

时间:2019-10-13 12:53:19      阅读:91      评论:0      收藏:0      [点我收藏+]

标签:inline   c++   return   def   for   std   clu   include   while   

#include <bits/stdc++.h>

using namespace std;

#define ll long long
#define rep(i, a, b) for (register int i = a, end = b; i <= end; i++)
#define repd(i, a, b) for (register int i = a, end = b; i >= end; i--)
#define chkmax(a, b) a = max(a, b)
#define chkmin(a, b) a = min(a, b)
#define INF (1<<30)
#define pb push_back
#define mp(a, b) make_pair(a, b)
#define fst first
#define snd second
#define pii pair<int, int>

inline int read() {
    int w = 0, f = 1; char c;
    while (!isdigit(c = getchar())) f = c == '-' ? -1 : f;
    while (isdigit(c)) w = (w << 3) + (w << 1) + (c ^ 48), c = getchar();
    return w * f;
}

int N, M;

int main() {
    return 0;
}

基本模版

标签:inline   c++   return   def   for   std   clu   include   while   

原文地址:https://www.cnblogs.com/ac-evil/p/11665534.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!