<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>贪心 on 世界</title>
    <link>https://muzimi.org/docs/leetcode/%E6%95%B0%E7%BB%84/%E8%B4%AA%E5%BF%83/</link>
    <description>Recent content in 贪心 on 世界</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <atom:link href="https://muzimi.org/docs/leetcode/%E6%95%B0%E7%BB%84/%E8%B4%AA%E5%BF%83/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>134 加油站</title>
      <link>https://muzimi.org/docs/leetcode/%E6%95%B0%E7%BB%84/%E8%B4%AA%E5%BF%83/134_%E5%8A%A0%E6%B2%B9%E7%AB%99/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://muzimi.org/docs/leetcode/%E6%95%B0%E7%BB%84/%E8%B4%AA%E5%BF%83/134_%E5%8A%A0%E6%B2%B9%E7%AB%99/</guid>
      <description>&lt;h2 id=&#34;题目描述&#34;&gt;题目描述&lt;a class=&#34;anchor&#34; href=&#34;#%e9%a2%98%e7%9b%ae%e6%8f%8f%e8%bf%b0&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;在一条环形道路上共有 n 个加油站，第 i 个加油站拥有 gas[i] 升汽油。&lt;/p&gt;&#xA;&lt;p&gt;从第 i 个加油站开往第 i+1 个加油站需要消耗 cost[i] 升汽油（n-1 的下一个为 0）。&lt;/p&gt;&#xA;&lt;p&gt;你从某个加油站出发，初始油箱为空，油箱容量无限。如果能够绕环路一周返回出发点，则返回该加油站的下标，否则返回 -1。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
