0907

2023短学期0907题解

# 数组的排序 ### Description 对一个数组内的元素按绝对值从小到大排个序吧。 ### Input 第一行输入一个数n(1 点击查看代码 ``` #include #include #include using namespace std; bool compareAbs(int a, ......
题解 学期 2023 0907

0907训练

### P - windy 数 首先考虑把 $[a,b]$ 的答案转化为 $[1,b]$ 的答案减去 $[1,a-1]$ 的答案。 然后就可以数位 $dp$,设 $dp_{i,j,k}$ 表示当前 $dp$ 到第 $i$ 位,上一个是 $j$,目前是否已经小于目标的方案数。 这个题有一个不同之处是前 ......
0907

English 0907

So learn to start thinking in terms of bundles of concepts or ideas that will be converted to new language and not single words. Try to think in a for ......
English 0907
共3篇  :1/1页 首页上一页1下一页尾页