ICode9

精准搜索请尝试: 精确搜索
  • 错题记录2020-11-05 21:31:43

    https://nanti.jisuanke.com/t/T3258 计算前缀和 pre 数组之后,查询应该是 pre[r] - pre[l] 而不是 pre[r] - pre[l - 1] ,因为要求查询的是 \((l ,r]\),这是一个左开右闭的区间,不包括 pre[l],完了就得把 l 所对应的前缀和减去。

  • 题目2020-09-21 23:00:52

    http://acm.hdu.edu.cn/showproblem.php?pid=6706 http://acm.hdu.edu.cn/showproblem.php?pid=6607 https://nanti.jisuanke.com/t/40522 https://nanti.jisuanke.com/t/A2003 https://nanti.jisuanke.com/t/39269 https://nanti.jisuanke.com/t/41390 https://blog.csdn.net

  • 2019徐州网络赛2019-09-09 20:07:25

    K. Center 枚举两个点的中点作为轴对称的点就可以了 链接:https://nanti.jisuanke.com/t/41393 #include <algorithm> #include <string.h> #include <stdio.h> #include <map> #include <utility> #define ll long long #define PII pair<ll,ll> using namesp

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有