I need help with the following question.

UPD: There is a misprint in the question. For the second constraint, it is the constraint of K. That is, the value of 0 <= K <= 2*10^10.
ACM ICPC Kharagpur Regionals 2017 Question
I need help with the following question.

UPD: There is a misprint in the question. For the second constraint, it is the constraint of K. That is, the value of 0 <= K <= 2*10^10.
| Rev. | Lang. | By | When | Δ | Comment | |
|---|---|---|---|---|---|---|
| en3 |
|
back_slash | 2017-12-21 18:48:12 | 165 | ||
| en2 |
|
back_slash | 2017-12-20 16:53:58 | 142 | ||
| en1 |
|
back_slash | 2017-12-20 14:19:35 | 157 | Initial revision (published) |