摘要:
使用XMAPP V3.2.2,第一次启动正常,第二次启动MYSQL失败 17:10:26 [mysql] Error: MySQL shutdown unexpectedly. 17:10:26 [mysql] This may be due to a blocked port, missing d 阅读全文
摘要:
``` struct edge { int to, capacity, cost, rev; edge() {} edge(int to, int _capacity, int _cost, int _rev) :to(to), capacity(_capacity), cost(_cost), r 阅读全文
摘要:
这道题求第n项和第m项斐波那契的公约数这里有一个定理(n,m都是1e9) gcd(f[m],f[n])=f[gcd(n,m)] 斐波那契使用矩阵快速幂求 include define ll long long define ull unsigned long long define ld long 阅读全文
摘要:
矩阵中1表示可行,0表示不可行,取一个最大的正方形 include define ll long long define pii pair using namespace std; const int INF=2147483647; int n,m; int a[105][105]; int dp[ 阅读全文