文件名称:df
介绍说明--下载内容来自于网络,使用问题请自行百度
给定 N (1 < N < 100 000) 个小于等于 10000 的正整数组成的序列和一个正整数 S (S < 100 000 000)。请编写一个程序,查找该序列中是否有连续元素组成的子序列,其和大于等于 S。如果找到,则输出符合条件的最短子序列的长度,如果没有找到,则输出 0-Given N (1 < N < 100 000) were less than or equal to 10000, composed of positive integer sequences and a positive integer S (S < 100 000 000). Please prepare a program to find whether the sequence of consecutive sub-sequence of elements, and greater than or equal to the S. If found eligible then the output sequence of the length of the shortest, if not found, then output 0
(系统自动生成,下载前可以参看下载内容)
下载文件列表
df.c
新建 文本文档 (3).txt
新建 文本文档 (3).txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。