• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






Storm_Spirit

不忘初心,方得始终。
 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2017年1月12日

CodeForces Good Bye 2016
摘要: A题,水题略过。 B题,也水,但是想复杂了。只要运动超出[0,20000]的范围就算不可能了。 C题,我自己的方法是解不等式,然后取最大的答案即可。代码如下: 1 #include <stdio.h> 2 #include <algorithm> 3 #include <string.h> 4 #i 阅读全文
posted @ 2017-01-12 16:03 Storm_Spirit 阅读(147) 评论(0) 推荐(0)
 
Codeforces Round #388 (Div. 2)
摘要: A题B题,水的不行,跳过。 C题,每一个人都肯定消灭掉后面的一个字母不同的人,那么用队列保存两个阵营的人的位置,每一轮以后都让位置加上n即可。具体见代码: 1 #include <stdio.h> 2 #include <algorithm> 3 #include <string.h> 4 #inc 阅读全文
posted @ 2017-01-12 15:50 Storm_Spirit 阅读(115) 评论(0) 推荐(0)