摘要:
前言 这里指的是语言上的一些技巧,有常见的,也有冷门的。有些比较实用,有些比较鸡肋,仅作简单记录,慢更。 宏定义简化代码 本文中出现的宏定义 using ll = long long; #define fu(a, b, c) for (ll a = b; a <= c; a++) #define f 阅读全文
摘要:
A. P7482 不条理狂诗曲 分治,详见代码。 #include <bits/stdc++.h> #define fu(a, b, c) for (ll a = b; a <= c; a++) #define fd(a, b, c) for (ll a = b; a >= c; a--) #def 阅读全文
摘要:
A . P1082 [NOIP2012 提高组] 同余方程 exgcd模板 #include <bits/stdc++.h> #define fu(a, b, c) for (int a = b; a <= c; a++) #define fd(a, b, c) for (int a = b; a 阅读全文
摘要:
mysql中的存储过程是可以递归调用的,如果报错Recursive limit 0 请使用 set @@max_sp_recursion_depth = 100 修改递归深度。 drop procedure if exists pro; drop table if exists data; set 阅读全文