会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
BorisDimitri
The blog of BorisDimitri
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
下一页
2020年2月12日
【洛谷】P1024 一元三次方程求解 (题解)
摘要: P1024 一元三次方程求解 题解:#include using namespace std;int main(){ double a,b,c,d; cin>>a>>b>>c>>d; for(doub...
阅读全文
posted @ 2020-02-12 16:27 BorisDimitri
阅读(37)
评论(0)
推荐(0)
2020年2月11日
【洛谷】P1072 Hankson 的趣味题 (题解)
摘要: P1072 Hankson 的趣味题题解: 提交效果图,亲试#include#include#include#define ll long longusing namespace std;int prime[10...
阅读全文
posted @ 2020-02-11 20:02 BorisDimitri
阅读(35)
评论(0)
推荐(0)
【codeforces】CF5A Chat Server's Outgoing Traffic (题解)
摘要: CF5A Chat Server's Outgoing Traffic题解:#includeusing namespace std;int ans=9,people ;int main() { string k;...
阅读全文
posted @ 2020-02-11 18:03 BorisDimitri
阅读(17)
评论(0)
推荐(0)
CF4B Before an Exam
摘要: 题解 CF4B 【Before an Exam】超水的一道贪心题 贪心贪心的定义: 贪心选择是指所求问题的整体最优解可以通过一系列局部最优的选择,即贪心选择来达到。这是贪心算法可行的第一个基本要素,...
阅读全文
posted @ 2020-02-11 17:34 BorisDimitri
阅读(49)
评论(0)
推荐(0)
【Codeforces】CF3A Shortest path of the king (题解)
摘要: CF3A Shortest path of the king题解:#includeusing namespace std;string s1,s2;int main() { cin>>s1>>s2; int x1...
阅读全文
posted @ 2020-02-11 17:13 BorisDimitri
阅读(55)
评论(0)
推荐(0)
【洛谷】P3955 图书管理员 (题解)
摘要: P3955 图书管理员题解:#include...
阅读全文
posted @ 2020-02-11 16:46 BorisDimitri
阅读(78)
评论(0)
推荐(0)
【洛谷】P1012 拼数 (题解)
摘要: P1012 拼数题解:#include#include using namespace std;string a[30]; int main(){ int n; cin>>n; for(int...
阅读全文
posted @ 2020-02-11 16:41 BorisDimitri
阅读(56)
评论(0)
推荐(0)
【洛谷】P1093 奖学金 (题解)
摘要: P1093 奖学金题解:#include using namespace std;struct node { int a; int b; int c; int d; int w;};bool f(node a,n...
阅读全文
posted @ 2020-02-11 16:39 BorisDimitri
阅读(57)
评论(0)
推荐(0)
【洛谷】P1068 分数线划定 (题解)
摘要: P1068 分数线划定 题解:#includeusing namespace std;long long n,m,f=0,x=0,r=0;long long k[100000],s[100000];int mai...
阅读全文
posted @ 2020-02-11 16:37 BorisDimitri
阅读(71)
评论(0)
推荐(0)
【洛谷】P1158 导弹拦截(题解)
摘要: P158 导弹拦截题解:#includeusing namespace std;struct ca{ int o,p;}o[100005];int cmp(ca a,ca b){ return a.o...
阅读全文
posted @ 2020-02-11 16:35 BorisDimitri
阅读(54)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
下一页
公告