Clever_Jimmy

导航

< 2025年6月 >
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12

统计

#

[置顶] 关于我

前置代码:

 1 #include <cstdio>
 2 #include <cstring>
 3 #include <cctype>
 4 #define rgi register int
 5 #define il inline
 6 #define ll long long
 7 
 8 using namespace std;
 9 
10 il int read()
11 {
12     rgi x = 0, f = 0, ch;
13     while(!isdigit(ch = getchar())) f |= ch == '-';
14     while(isdigit(ch)) x = (x << 1) + (x << 3) + (ch ^ 48), ch = getchar();
15     return f ? -x : x;
16 }
17 
18 il void write(int x)
19 {
20     if(x < 0)    putchar('-'), x = -x;
21     if(x > 9)    write(x / 10);
22     putchar(x % 10 + 48);
23 }
24 
25 int main()
26 {
27     return 0;
28 }

 

代码规范:

-A1 --indent=tab=4 --indent-classes --indent-switches --indent-namespaces --indent-preprocessor -p -xe -W3 -k3

 

posted @ 2019-03-31 10:09 Clever_Jimmy 阅读(103) 评论(0) 推荐(0)

#

[置顶] 好用的网站

摘要: 有用的工具 阅读全文

posted @ 2019-03-24 16:29 Clever_Jimmy 阅读(366) 评论(0) 推荐(0)

2019年4月14日 #

ST表学习笔记

摘要: ST表是一种静态数据结构,支持O(1)查询区间max,min,gcd,xor等操作 阅读全文

posted @ 2019-04-14 12:06 Clever_Jimmy 阅读(160) 评论(0) 推荐(0)

2019年4月13日 #

快读快输板子

摘要: 这是快读与快输模板 阅读全文

posted @ 2019-04-13 23:03 Clever_Jimmy 阅读(144) 评论(0) 推荐(0)

2019年3月30日 #

网络流学习笔记

摘要: 网络流算法学习笔记 阅读全文

posted @ 2019-03-30 22:28 Clever_Jimmy 阅读(127) 评论(0) 推荐(0)

2019年3月23日 #

【题解】洛谷 P1014 【Cantor表】

摘要: 这题是求康托尔表的第几位是什么。 阅读全文

posted @ 2019-03-23 21:43 Clever_Jimmy 阅读(253) 评论(0) 推荐(0)

2019年3月10日 #

归并排序(逆序对)

摘要: 归并排序是一种稳定的排序算法。 阅读全文

posted @ 2019-03-10 10:22 Clever_Jimmy 阅读(164) 评论(0) 推荐(0)

2019年3月9日 #

摘要: 堆是一种神奇的数据结构,它支持三种操作:push(),pop(),top()。 阅读全文

posted @ 2019-03-09 21:30 Clever_Jimmy 阅读(264) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示