给定一个二进制数组,计算数组中出现的最大连续1的个数。
Given a binary array, find the maximum number of consecutive 1s in this array.
给定一个二进制数组,如果允许将至多一个0翻转成1,求最大连续1的个数。
Given a binary array, find the maximum number of consecutive 1s in this array if you can flip at most one 0.
左图为1971-2000年间最大连续降水量、降水持续天数及雨止日期。具体数据见下表。
The figure indicates the maximum continuous precipitations, rain-lasting days and stopping dates in years from 1971 to 2000. For detailed data, see the table below.
自从8月以来共2.4%的下跌是“自1992年的黑暗之日以来最大连续三月跌幅”,花旗银行的经济学家麦克尔山德士指出。
The fall of 2.4% since August was "the greatest in any three-month period since the dark days of 1992", points out Michael Saunders, an economist at Citigroup, another bank.
自从8月以来共2.4%的下跌是“自1992年的黑暗之日以来最大连续三月跌幅”,花旗银行的经济学家麦克尔山德士指出。
The fall of 2.4% since August was "the greatest in any three-month period since the dark days of 1992", points out Michael Saunders, an economist at Citigroup, another bank.
应用推荐