会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
juuich
博客园
首页
联系
管理
上一页
1
2
3
2020年10月22日
题目日记:字符串折叠(区间dp)
摘要: 2020-10-22 P4302 这道是will讲的区间dp例题,我跟着思路写了一遍,发现只得了60分 这种dp题我还没有想到找bug的方法,所以没有头绪 直接发在论坛上看有没有大佬帮我 (狗头 #include<bits/stdc++.h> #define ll long long #define
阅读全文
posted @ 2020-10-22 19:50 juuich
阅读(31)
评论(0)
推荐(0)
2020年3月16日
C++ stream
摘要: 由一道二叉树题引入:UVA548 https://www.luogu.com.cn/problem/UVA548 这道题其实别的都不难 深搜建树 再深搜一次找最小 放一下之前代码 bool put_in(char r[]) { if(cin>>e) { int cnt=1; while(cin>>r
阅读全文
posted @ 2020-03-16 22:13 juuich
阅读(59)
评论(0)
推荐(0)
2020年3月7日
题目笔记 UVA540
摘要: STL queue UVA540 AC码 #include<queue> #include<map> #include<iostream> #include<cstring> #include<string> #include<set> using namespace std; int n,m,r,
阅读全文
posted @ 2020-03-07 13:17 juuich
阅读(212)
评论(0)
推荐(0)
2020年3月1日
题目笔记 UVA12096
摘要: 一道综合set,map,stack的STL题目,非常有意思!! UVA12096 AC码 #include<iostream> #include<map> #include<vector> #include<algorithm> #include<cstring> #include<set> #in
阅读全文
posted @ 2020-03-01 22:47 juuich
阅读(173)
评论(0)
推荐(0)
题目笔记 UVA156
摘要: STL map UVA156 AC码 #include<iostream> #include<vector> #include<cctype> #include<cstring> #include<map> #include<algorithm> using namespace std; strin
阅读全文
posted @ 2020-03-01 11:56 juuich
阅读(180)
评论(0)
推荐(0)
2020年2月28日
题目笔记 UVA10815
摘要: STL set UVA10815 AC码 #include<iostream> #include<string> #include<set> #include<sstream> using namespace std; string s,buf; set<string> dict; //string
阅读全文
posted @ 2020-02-28 23:32 juuich
阅读(217)
评论(0)
推荐(0)
题目笔记 UVA101(STL vector)
摘要: STL vector UVA101 AC码 #include<iostream> #include<vector> #include<cstring> using namespace std; const int maxx=30; int n; string s1,s2; vector <int>
阅读全文
posted @ 2020-02-28 21:16 juuich
阅读(201)
评论(0)
推荐(0)
2020年2月25日
大一寒假的小随笔
摘要: 1.a->b意味着(*a).b。 2.对比两个函数 bool cmp (stu a,stu b) { if(a.sum==b.sum) { if(a.c==b.c) { return a.num>b.num; } else return a.c>b.c; } else return a.sum >b
阅读全文
posted @ 2020-02-25 23:12 juuich
阅读(132)
评论(0)
推荐(0)
上一页
1
2
3
公告