Блог пользователя liusixun2025

Автор liusixun2025, история, 5 часов назад, По-английски
{
"__1csdm__": {
"prefix": "__1csdm__",
"body": [
"#include<bits/stdc++.h>",
"using namespace std;",
"typedef long long LL;  typedef unsigned long long ULL;  typedef long double LD;",
"",
"#define  rep(I,A,B) for(int I=A, eax=B; I<=eax; ++I)",
"#define repo(I,A,B) for(int I=A, eax=B; I< eax; ++I)",
"#define  REP(I,A,B) for( LL I=A, eax=B; I<=eax; ++I)",
"#define REPO(I,A,B) for( LL I=A, eax=B; I< eax; ++I)",
"#define  reb(I,A,B) for(int I=A, eax=B; I>=eax; --I)",
"#define rebo(I,A,B) for(int I=A, eax=B; I> eax; --I)",
"#define  REB(I,A,B) for( LL I=A, eax=B; I>=eax; --I)",
"#define REBO(I,A,B) for( LL I=A, eax=B; I> eax; --I)",
"#define times(A) reb(ID, A, 1)",
"#define BtoE(I,A) for(auto I=A.begin(); I!=A.end(); ++I)",
"#define EtoB(I,A) for(auto I=A.rbegin(); I!=A.rend(); ++I)",
"",
"typedef vector<int> VI;  typedef vector<LL> VL;  typedef vector<char> VC; ",
"typedef vector<VI> VII, VVI;  typedef vector<VL> VLL, VVL;  typedef vector<VC> VCC, VVC; ",
"template<typename T> void push_back(vector<T>&v, const T& e) {",
"    v.size()==v.capacity() && v.size()>1 && (v.reserve(v.size() + (v.size()>>1)), true), v.push_back(e); }",
"",
"#define FI first",
"#define SE second",
"typedef pair<int,int> pii;  typedef pair<int,LL> pil;  typedef pair<LL,int> pli;  typedef pair<LL,LL> pll; ",
"",
"namespace Math {double pi=acos(-1), e=exp(1.0), gd=(sqrt(5)+1)/2, gam=0.5772156649; }; ",
"",
"#define maxHp(T) priority_queue<T>",
"#define minHp(T) priority_queue<T, vector<T>, greater<T> >",
"#define Dsort(A,B,T) sort(A, B, greater<T>())",
"#define FileIO(A) freopen(A\".in\", \"r\", stdin), freopen(A\".out\", \"w\", stdout)",
"",
"const int inf=0x7F7F7F7F, inf2=inf/127*63, inf3=inf/127*42; ",
"const LL INF=0x7F7F7F7F7F7F7F7F, INF2=INF/127*63, INF3=INF/127*42; ",
"",
"bool __main(int taskID) {",
"    ",
"    return 0;",
"}",
"",
"int main() {",
"    ios::sync_with_stdio(false), cin.tie(0), cout.tie(0); ",
"    int tasks=1;  //cin>>tasks; ",
"    repo(taskID, 0, tasks) if(__main(taskID)) return 0; ",
"    return 0;",
"}"
]
},
}
  • Проголосовать: нравится
  • -8
  • Проголосовать: не нравится

»
5 часов назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Auto comment: topic has been updated by liusixun2025 (previous revision, new revision, compare).