Hello dear programmers! Is there anyway to calculate the minimum length of the addition subtraction chain for any integer n up to 1000?
# | User | Rating |
---|---|---|
1 | jiangly | 3845 |
2 | tourist | 3798 |
3 | orzdevinwang | 3706 |
4 | jqdai0815 | 3682 |
5 | ksun48 | 3589 |
6 | Ormlis | 3532 |
7 | Benq | 3468 |
8 | Radewoosh | 3463 |
9 | ecnerwala | 3451 |
10 | Um_nik | 3450 |
# | User | Contrib. |
---|---|---|
1 | cry | 165 |
2 | Qingyu | 160 |
3 | -is-this-fft- | 159 |
4 | atcoder_official | 157 |
5 | Dominater069 | 156 |
6 | adamant | 154 |
7 | djm03178 | 151 |
8 | luogu_official | 149 |
9 | awoo | 147 |
10 | TheScrasse | 145 |
Addition-subtraction chain problem
Hello dear programmers! Is there anyway to calculate the minimum length of the addition subtraction chain for any integer n up to 1000?
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en3 |
![]() |
Santa__Claus | 2023-10-25 20:18:12 | 0 | (published) | |
en2 |
![]() |
Santa__Claus | 2023-10-25 20:17:55 | 58 | Tiny change: 'p to 1000?' -> 'p to 1000? https://en.wikipedia.org/wiki/Addition-subtraction_chain.' (saved to drafts) | |
en1 |
![]() |
Santa__Claus | 2023-10-25 17:51:31 | 169 | Initial revision (published) |
Name |
---|