上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 27 下一页
摘要: #include<algorithm> #include<iostream> #include<cstring> using namespace std; bool cmp(int a,int b){ return a<b; } int main(){ int w,n,ifir,iend,tol=0 阅读全文
posted @ 2022-01-27 11:51 ethon-wang 阅读(43) 评论(0) 推荐(0) 编辑
摘要: code #include<iostream> using namespace std; int fun(int b,int d){//power int i=1,p=1; for(;i<=d;i++){ p*=b; } return p; } int main(){ int i,j,c,n,k,a 阅读全文
posted @ 2022-01-27 11:25 ethon-wang 阅读(45) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std; const int N = 1000; int main() { int s, t, w, flag = 0; char a[N]; int j, i, num = 0; scanf("%d%d%d", &s, &t, 阅读全文
posted @ 2022-01-26 15:35 ethon-wang 阅读(45) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<algorithm> using namespace std; const int N = 25; int value[N],weigth[N]; int OPT(int total,int num){ if(total < value[num 阅读全文
posted @ 2022-01-26 12:11 ethon-wang 阅读(32) 评论(0) 推荐(0) 编辑
摘要: tip inline code #include<iostream> #include<algorithm> #include<cstring> using namespace std; int max(int a, int b) { if (a > b) { return a; } else { 阅读全文
posted @ 2022-01-25 11:11 ethon-wang 阅读(51) 评论(0) 推荐(0) 编辑
摘要: code #include<iostream> #include<algorithm> using namespace std; int L,M;//L->lenth,M->num of area int a[10005]; int main(){ scanf("%d%d",&L,&M); int 阅读全文
posted @ 2022-01-24 23:46 ethon-wang 阅读(46) 评论(0) 推荐(0) 编辑
摘要: trouble 删除输入法后切换仍存在已删除输入法,尝试过删除注册表后更新仍出现,现在解决方案尝试: win10输入法软件接管 阅读全文
posted @ 2022-01-24 23:26 ethon-wang 阅读(48) 评论(0) 推荐(0) 编辑
摘要: code #include<iostream> #include<algorithm> using namespace std; int a[10005]; int main(){ int m,n; cin>>n>>m;//n->et's finger num,m->the num need to 阅读全文
posted @ 2022-01-24 18:20 ethon-wang 阅读(62) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<cstdio> #include<cstring> using namespace std; int n; string s; void dfs(int l,int r){ int mid = (l+r)/2; if(r!=l){ dfs(l, 阅读全文
posted @ 2022-01-24 14:06 ethon-wang 阅读(50) 评论(1) 推荐(1) 编辑
摘要: #include<cstdio> #include<cstring> #include<string> #include<cmath> #include<algorithm> #include<iostream> using namespace std; int len = 0; char s[30 阅读全文
posted @ 2022-01-23 12:53 ethon-wang 阅读(35) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 27 下一页