会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
.。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2018年7月
暑假2018.7.5 1.CodeForces - 705B 2.CodeForces - 702B
摘要: 恢复内容开始 第一题思维题 #include<iostream>using namespace std;int main(){ int n,flag; long long x; cin>>n; flag=0; while(n--){ cin>>x; if(x%2==1&&flag==0){ cout
阅读全文
posted @ 2018-07-06 11:10 .。
阅读(110)
评论(0)
推荐(0)
2018年6月
利用MAP存数据,防止超时,一开始用了两个for 循环CodeForces - 702B
摘要: CodeForces - 651C Watchmen are in a danger and Doctor Manhattan together with his friend Daniel Dreiberg should warn them as soon as possible. There a
阅读全文
posted @ 2018-06-07 19:45 .。
阅读(165)
评论(0)
推荐(0)
思维题,加强读题能力CodeForces - 705B
摘要: #include<iostream>using namespace std;int main(){ int n,i; long long sum,x; cin>>n; sum=0; for(i=1;i<=n;i++){ cin>>x; sum=sum+x-1; if(sum%2){ cout<<"1
阅读全文
posted @ 2018-06-07 17:48 .。
阅读(111)
评论(0)
推荐(0)
2018年4月
图论第一题,利用双向dfs强连通,hdu1269
摘要: #include<iostream>#include<stdio.h>#include<vector>using namespace std;const int maxn =10005;vector<int>reverse_post;vector<int>node[maxn];vector<int>
阅读全文
posted @ 2018-04-09 20:15 .。
阅读(118)
评论(0)
推荐(0)
上一页
1
2
公告