do we need to solve DP problems separately or just keep solving the problems in mixed pool and eventually everything will fall at its place
# | User | Rating |
---|---|---|
1 | jiangly | 3898 |
2 | tourist | 3840 |
3 | orzdevinwang | 3706 |
4 | ksun48 | 3691 |
5 | jqdai0815 | 3682 |
6 | ecnerwala | 3525 |
7 | gamegame | 3477 |
8 | Benq | 3468 |
9 | Ormlis | 3381 |
10 | maroonrk | 3379 |
# | User | Contrib. |
---|---|---|
1 | cry | 168 |
2 | -is-this-fft- | 165 |
3 | Dominater069 | 161 |
4 | atcoder_official | 160 |
4 | Um_nik | 160 |
6 | djm03178 | 157 |
7 | adamant | 153 |
8 | luogu_official | 151 |
9 | awoo | 149 |
10 | TheScrasse | 146 |
do we need to solve DP problems separately or just keep solving the problems in mixed pool and eventually everything will fall at its place
link to problem — (https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1285) link to my code — (https://ideone.com/pAMZpL) i am getting WA and not able to figure out why? thank you
Here is my submission.can someone point out my mistake thanks in advance. link to my submission
`
can somebody explain me the logic of problem E of abc 168.https://atcoder.jp/contests/abc168/tasks/abc168_e.i know that the points chosen according to given condition will form perpendicular lines but i am not able to proceed further.
HOW TO SOLVE THE INEQUALITY i*(i + 1) <= n such that i is maximum possible in O(1) time complexity.is their exist any method.
I am using 3 pointer technique to minimize the difference between largest and smallest element chosen and then finding the mid element which minimizes the answer. here is link to my code: https://ideone.com/XzeUzs thanks in advance
Name |
---|