摘要:
//原文链接:https://blog.csdn.net/qq547276542/article/details/49806363 const int maxn=50; //有equ个方程,var个变元。增广矩阵行数为equ,列数为var+1 int equ,var; int a[maxn][max 阅读全文
摘要:
#include<cstdio> #include<iostream> #include<algorithm> using namespace std; char s[200010]; int main() { int t; scanf("%d",&t); while(t--) { int n; s 阅读全文
摘要:
例题:Loj165 #include <bits/stdc++.h> using namespace std; typedef long long int64; const int MOD = 998244353; const int MAXN = 5000 + 10; inline int qpo 阅读全文
摘要:
Sol1:利用杨辉三角求C(N,M).坐标从 (0,0)开始,则第n行第m列就是C(N,M) #include<bits/stdc++.h> #define s 1100 using namespace std; int x[s][s]; main() { int a,b,k,n,m; x[0][0 阅读全文