摘要: 1. 变量名和等号之间不能有空格 2. 单引号字符串里面的变量不会解析 3. 双引号字符串里面的变量会解析 阅读全文
posted @ 2019-09-20 18:27 cabbage-leaf 阅读(137) 评论(0) 推荐(0) 编辑
摘要: "题目描述" 思路 代码 阅读全文
posted @ 2019-09-20 16:28 cabbage-leaf 阅读(115) 评论(0) 推荐(0) 编辑
摘要: "题目描述" 思路 代码 c++ include int n, na, nb, ans; struct Node { int a, b, c; } aa[1005], bb[1005], tmp; inline int read() { int s = 0, f = 1; char ch = get 阅读全文
posted @ 2019-09-20 16:02 cabbage-leaf 阅读(133) 评论(0) 推荐(0) 编辑
摘要: "题目描述" 思路 代码 阅读全文
posted @ 2019-09-20 14:37 cabbage-leaf 阅读(114) 评论(0) 推荐(0) 编辑
摘要: "题目描述" 思路 代码 阅读全文
posted @ 2019-09-20 11:17 cabbage-leaf 阅读(117) 评论(0) 推荐(0) 编辑
摘要: "题目描述" 思路 代码 c++ include include struct Node { int a, b; } arr[1005], tmp; int ans, pre, n; inline int read() { int s = 0, f = 1; char ch = getchar(); 阅读全文
posted @ 2019-09-20 10:43 cabbage-leaf 阅读(149) 评论(0) 推荐(0) 编辑
摘要: "题目描述" 思路 Treap 模板题 代码 c++ include include include const int MAX = 110000 + 5; int n, m, rt, tot, inf = 0x7f3f3f3f, ot; char str[100]; struct Node { i 阅读全文
posted @ 2019-09-20 10:18 cabbage-leaf 阅读(115) 评论(0) 推荐(0) 编辑