I have doubt in this
https://hack.codingblocks.com/app/practice/3/p/1148
I used brute force approch and code is correct but
i not understand output format “The total cost modulo 10^9+7.” plz expain this
Can u suggest optimize.
I have doubt in this
https://hack.codingblocks.com/app/practice/3/p/1148
I used brute force approch and code is correct but
i not understand output format “The total cost modulo 10^9+7.” plz expain this
Can u suggest optimize.