摘要:
目录 Description State Input Output Solution Code Description 将所有属于 \([l,r]\) 上的数 \(x\) 变为 \(k\) 进制,每一个 \(x\) 都可以变为 \(1\) 位数,其花费为 \(\sum{a[i]*dis}\) ,\( 阅读全文
posted @ 2021-09-23 19:17
Bcoi
阅读(42)
评论(0)
推荐(0)
摘要:
目录 Description State Input Output Solution Code Description \(f(x)=Ax^2g(x)+Bx^2+Cxg^2(x)+Dxg(x)\), 其中 \(g(x)\) 为 \(x\) 的数位之和,求 \(f(x)\) 的最小值(\(1<=x<= 阅读全文
posted @ 2021-09-23 09:57
Bcoi
阅读(49)
评论(0)
推荐(0)
摘要:
目录 Description State Input Output Solution Code Description 有三种操作: \(1 \ x \ :\) 在队列尾部添加一个元素 \(x\) \(2\ :\) 删除队头元素,并输出 \(3\ :\) 将队列元素排序 State \(1<=n<= 阅读全文
posted @ 2021-09-23 08:40
Bcoi
阅读(64)
评论(0)
推荐(0)
摘要:
目录 Description State Input Output Solution Code Description 有一个包含 \(+-\) 的字符串,其中 \(+\) 表示 \(1\),\(-\) 表示 \(-1\), 给出 \(m\) 个区间,求删掉最少的字符,区间和为零,其中 \(a[i] 阅读全文
posted @ 2021-09-23 08:09
Bcoi
阅读(82)
评论(0)
推荐(0)

浙公网安备 33010602011771号