1. 首页
  2. 数据库
  3. 其它
  4. Codeforces 1312 E. Array Shrinking (区间dp)

Codeforces 1312 E. Array Shrinking (区间dp)

上传者: 2021-01-04 05:28:46上传 PDF文件 45KB 热度 10次
E. Array Shrinking time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output You are given an array a1,a2,...,an. You can perform the following operation any number of times: Choose a pair of two neighboring equal elements ai=ai+1 (if there is at least o
用户评论