ops1211
ops1211
全部文章
分类
2019寒假ap协会第二周(2)
ap协会第二周(1)
csdn用法(3)
dp(4)
stl(1)
大数运算(1)
寒假备战蓝桥杯(5)
尺取法(2)
带权并查集(1)
并查集(1)
思维(1)
数论(7)
未归档(31)
模板(10)
石油大个人训练赛题目集(1)
蓝桥备战模板(1)
题解(3)
归档
标签
去牛客网
登录
/
注册
ops1211的博客
全部文章
(共75篇)
uva10003(区间dp)
#include<iostream> #include<string.h> #define inf 0x3f3f3f3f using namespace std; int a[100];int r; int dp[1003][1003]; int main(){ int ...
2019-05-02
0
424
uva10003(区间dp)
#include<iostream> #include<string.h> #define inf 0x3f3f3f3f using namespace std; int a[100];int r; int dp[1003][1003]; int main(){ int ...
2019-05-02
0
457
LightOj 1422 Halloween Costumes(区间dp)
#include<iostream> #include<string.h> using namespace std; int a[200];int dp[200][200]; int main(){ int t;cin>>t; int cn=1; whil...
2019-05-02
0
521
LightOj 1422 Halloween Costumes 两种姿势详解(区间DP)
#include<iostream> #include<string.h> using namespace std; int a[200];int dp[200][200]; int main(){ int t;cin>>t; int cn=1; whil...
2019-05-02
0
710
Palindrome subsequence HDU - 4632
#include<iostream> #include<string.h> using namespace std; const int mod=10007; int dp[1009][1009]; int main(){ int t;int ca=0; while(...
2019-04-29
0
469
Palindrome subsequence HDU - 4632
#include<iostream> #include<string.h> using namespace std; const int mod=10007; int dp[1009][1009]; int main(){ int t;int ca=0; while(...
2019-04-29
0
548
Reading comprehension HDU - 4990(矩阵快速幂+构造矩阵)
#include<iostream> using namespace std; typedef long long LL; LL n,m; struct mat{ LL m[3][3]; }; mat mul(mat a,mat b){ mat ans; for(int i=0...
2019-04-27
0
444
Reading comprehension HDU - 4990(矩阵快速幂+构造矩阵)
#include<iostream> using namespace std; typedef long long LL; LL n,m; struct mat{ LL m[3][3]; }; mat mul(mat a,mat b){ mat ans; for(int i=0...
2019-04-27
1
400
凑平方数(dfs提高,set,字符串)
#include<iostream> #include<string> #include<set> #include<map> #include<algorithm> using namespace std; long long shu[2...
2019-04-24
0
677
HDU 4704 Sum(隔板原理+组合数求和公式+费马小定理+快速幂)
#include<iostream> #include<string.h> using namespace std; typedef long long LL; #define mod 1000000007 char s[1000000]; LL bp(LL a,LL b)...
2019-04-23
0
450
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页