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

duluu

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2020年7月23日

PAT (Advanced Level) Practice-1029 Median

摘要: 二分查找 #include<bits/stdc++.h> using namespace std; const int maxn = 2e5+5; long long a[maxn], b[maxn]; long long getKth(int k, int lo1, int hi1, int lo 阅读全文

posted @ 2020-07-23 20:35 duluu 阅读(96) 评论(0) 推荐(0)

PAT (Advanced Level) Practice-1010 Radix

摘要: 基数上限为给定的那个数(不懂),需要二分查找◍'ㅅ'◍ #include<bits/stdc++.h> typedef long long ll; int n, tag, radix; char num[2][15]; #define val(c) ('0'<=(c)&&(c)<='9'?(c)-' 阅读全文

posted @ 2020-07-23 17:45 duluu 阅读(91) 评论(0) 推荐(0)

2020年6月27日

PAT (Top Level) Practice-1005 Programming Pattern

摘要: Programmers often have a preference among program constructs. For example, some may prefer if(0==a), while others may prefer if(!a). Analyzing such pa 阅读全文

posted @ 2020-06-27 18:04 duluu 阅读(62) 评论(0) 推荐(0)

 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3