https://www.codechef.com/viewsolution/32171611
Pleaase help wa on 2 test cases
please help
https://www.codechef.com/viewsolution/32171611
Pleaase help wa on 2 test cases
please help @waqar_ahmad224
hard to understand the code when it is un-commented.
hard to understand what m1 , m2 and m3 signify.
in the third case why is it max of A+gcd(,B,C…) or B+gcd(A,C…)
we can also take C+gcd(A,B,…) like wise D+gcd(A,B,C,E…) …
why’d you check tho?