<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>双指针 on CharlesWang个人博客</title>
    <link>https://charleswang.top/tags/%E5%8F%8C%E6%8C%87%E9%92%88/</link>
    <description>Recent content in 双指针 on CharlesWang个人博客</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sun, 05 Apr 2026 15:24:41 +0800</lastBuildDate>
    <atom:link href="https://charleswang.top/tags/%E5%8F%8C%E6%8C%87%E9%92%88/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>P8667 [蓝桥杯 2018 省 B] 递增三元组</title>
      <link>https://charleswang.top/2026-04-05-p8667-%E8%93%9D%E6%A1%A5%E6%9D%AF-2018-%E7%9C%81-b-%E9%80%92%E5%A2%9E%E4%B8%89%E5%85%83%E7%BB%84/</link>
      <pubDate>Sun, 05 Apr 2026 15:24:41 +0800</pubDate>
      <guid>https://charleswang.top/2026-04-05-p8667-%E8%93%9D%E6%A1%A5%E6%9D%AF-2018-%E7%9C%81-b-%E9%80%92%E5%A2%9E%E4%B8%89%E5%85%83%E7%BB%84/</guid>
      <description>&lt;h1 id=&#34;题目描述&#34;&gt;题目描述&lt;/h1&gt;
&lt;p&gt;给定三个整数数组 &lt;em&gt;A&lt;/em&gt;=[&lt;em&gt;A&lt;/em&gt;1​,&lt;em&gt;A&lt;/em&gt;2​,⋯,&lt;em&gt;A**N&lt;/em&gt;​]，&lt;em&gt;B&lt;/em&gt;=[&lt;em&gt;B&lt;/em&gt;1​,&lt;em&gt;B&lt;/em&gt;2​,⋯,&lt;em&gt;B**N&lt;/em&gt;​]，&lt;em&gt;C&lt;/em&gt;=[&lt;em&gt;C&lt;/em&gt;1​,&lt;em&gt;C&lt;/em&gt;2​,⋯,&lt;em&gt;C**N&lt;/em&gt;​]。&lt;/p&gt;
&lt;p&gt;请你统计有多少个三元组 (&lt;em&gt;i&lt;/em&gt;,&lt;em&gt;j&lt;/em&gt;,&lt;em&gt;k&lt;/em&gt;) 满足：&lt;/p&gt;</description>
    </item>
    <item>
      <title>P1102 A-B 数对</title>
      <link>https://charleswang.top/2026-04-05-p1102-a-b-%E6%95%B0%E5%AF%B9/</link>
      <pubDate>Sun, 05 Apr 2026 14:52:57 +0800</pubDate>
      <guid>https://charleswang.top/2026-04-05-p1102-a-b-%E6%95%B0%E5%AF%B9/</guid>
      <description>&lt;h2 id=&#34;题目背景&#34;&gt;题目背景&lt;/h2&gt;
&lt;p&gt;出题是一件痛苦的事情！&lt;/p&gt;
&lt;p&gt;相同的题目看多了也会有审美疲劳，于是我舍弃了大家所熟悉的 A+B Problem，改用 A-B 了哈哈！&lt;/p&gt;
&lt;h2 id=&#34;题目描述&#34;&gt;题目描述&lt;/h2&gt;
&lt;p&gt;给出一串正整数数列以及一个正整数 &lt;em&gt;C&lt;/em&gt;，要求计算出所有满足 &lt;em&gt;A&lt;/em&gt;−&lt;em&gt;B&lt;/em&gt;=&lt;em&gt;C&lt;/em&gt; 的数对的个数（不同位置的数字一样的数对算不同的数对）。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
