ARTICLE DETAIL

资讯详情

深耕网站建设与运营推广的一线实战洞察。

实用的宏定义

实用的宏定义

宏定义

#define int long long
#define endl '\n'
#define fastio               \ios::sync_with_stdio(0); \cin.tie(0);              \cout.tie(0);
#define put(x) cout << x << endl
#define get(x) cin >> x
#define putv(v)           \for (auto i : v)      \cout << i << ' '; \cout << endl
#define all(v) v.begin(), v.end()
#define repv(v) for (auto i : v)
#define rep(i, a, n) for (int i = (a); i <= (n); i++)
返回列表