UVA12697 Minimal Subarray Length

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=602&page=show_problem&problem=4435 [PDF](https://uva.onlinejudge.org/external/126/p12697.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12697/60195ccd06fb0142f1b41bee5365b37ba5828a1d.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12697/6f567ef03484ee6cb64cfd6e4d3e1b5cc6cea81e.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12697/00c185d9f91425c9a914af6f9c9a1afc5b613543.png)