缺省源

#include <bits/stdc++.h>

using namespace std;

using ubt = long long;

inline int read() {
  int s = 0, w = 1;
  char c = getchar();
  while (!isdigit(c)) {
    if (c == '-') w = -1;
    c = getchar();
  }
  while (isdigit(c)) {
    s = s * 10 + c - 48;
    c = getchar();
  }
  return s * w;
}
inline void pr(int x) {
  if (x < 0) putchar('-'), x = -x;
  static short stk[20];
  int top = 0;
  do stk[++top] = x % 10, x /= 10; while (x);
  while (top) putchar(stk[top--] + 48);
}
#define end_ putchar('\n')
#define spc_ putchar(' ')

#define vec vector
#define eb emplace_back
#define bg begin
#define mkp make_pair
#define fi first
#define se second
using pii = pair<int, int>;
const int inf = 1e9;

const int maxN = 5e5 + 7;

signed main() {
}
#include <bits/stdc++.h>

using namespace std;

using ubt = long long;
#define vec vector
#define eb emplace_back
#define emp emplace
#define bg begin
#define rbg rbegin
#define mkp make_pair
#define fi first
#define se second
using pii = pair<int, int>;

int main() {
  // cin.tie(nullptr) -> sync_with_stdio(false);
}
set number
set smartindent
set expandtab
set shiftwidth=2
set softtabstop=2
set tabstop=2
set showcmd
set mouse=a

map <A-UP> :m-2<CR>
map <A-DOWN> :m+1<CR>

map <C-Z> <ESC>:w<CR>
map <F9> <ESC>:w<CR> <ESC>:!g++ -std=c++14 -Wall -O2 -fsanitize=address,undefined -g -DLOCAL % -o %:r && time ./%:r<CR>
map <F5> <ESC>:w<CR> <ESC>:!g++ -std=c++14 -Wall -O2 -DLOCAL % -o %:r && time ./%:r<CR>
map <C-K> <ESC>:w<CR> <ESC>:!gedit %<CR>

imap <C-Z> <ESC>:w<CR>
imap <F9> <ESC>:w<CR> <ESC>:!g++ -std=c++14 -Wall -O2 -fsanitize=address,undefined -g -DLOCAL % -o %:r && time ./%:r<CR>
imap <F5> <ESC>:w<CR> <ESC>:!g++ -std=c++14 -Wall -O2 -DLOCAL % -o %:r && time ./%:r<CR>
imap <C-K> <ESC>:w<CR> <ESC>:!gedit %<CR>
set number
set shiftwidth=2
set tabstop=2
set smartindent
set expandtab
set softtabstop=2
set showcmd
set mouse=a
map <C-K> <ESC>:w<CR> <ESC>:!gedit %<CR>
imap <C-K> <ESC>:w<CR> <ESC>:!gedit %<CR>
map <C-DOWN> :m+1<CR>
map <C-UP> :m-2<CR>
map <C-Z> <ESC>:w<CR>
imap <C-Z> <ESC>:w<CR>
map <F5> <ESC>:w<CR> <ESC>:!g++ -std=c++14 -Wall -O2 % -o %:r && time ./%:r<CR>
imap <F5> <ESC>:w<CR> <ESC>:!g++ -std=c++14 -Wall -O2 % -o %:r && time ./%:r<CR>
map <F9> <ESC>:w<CR> <ESC>:!g++ -std=c++14 -Wall -O2 -fsanitize=address,undefined % -o %:r && time ./%:r<CR>
imap <F9> <ESC>:w<CR> <ESC>:!g++ -std=c++14 -Wall -O2 -fsanitize=address,undefined % -o %:r && time ./%:r<CR>
posted @ 2024-11-06 20:17  ccxswl  阅读(22)  评论(1编辑  收藏  举报