- 博客(5)
- 收藏
- 关注
原创 hdu 多校 TrickGCD
http://acm.hdu.edu.cn/showproblem.php?pid=6053TrickGCD Time Limit: 5000/2500 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 1809 Accepted Submission(s): 699Pr
2017-07-29 09:01:14 289
原创 约瑟夫环出队 数学方法
#include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int maxn=1e6+100; int f[maxn]; int main() { int n,k; while(cin>>n>>k) { for(int
2017-07-26 15:48:01 515
原创 矩阵相乘
#include <bits/stdc++.h> using namespace std; int a[50][50],b[50][50]; int n,m,k; void run() { int c[n][k]; memset(c,0,sizeof(c)); cout<<endl; for(int i=0;i<n;i++) { for(int
2017-07-22 17:20:03 329
原创 n阶 行列式计算
#include <iostream> #include <bits/stdc++.h> using namespace std; int d[5050]; int tag[50][50]; int n,m; int run(int f,int z,int de[]) { if(z==2) { //cout<<"xx "<<de[0]<<' '<<de[3]<<'
2017-07-22 16:34:30 919
原创 高斯消元
手打高斯 未优化 以后补充 解释以后补充#include<iostream> #include<cstdio> #include<iomanip> #include <cmath> using namespace std; int d[50][50]; int n,m; int gcd(int a,int b) { return a%b==0?b:gcd(b,a%b); }void run
2017-07-21 19:21:42 198
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人