Decomposition Reaction solution codechef

Decomposition Reaction solution codechef A thermal decomposition reaction is breakdown of a compound into one or more compounds when heated. For example, P→a⋅Q+b⋅RP→a⋅Q+b⋅R is a decomposition reaction. Here, 11 unit of PP is converted into aa unit of QQ and bb unit of RR after completion of the reaction. You are given NN compounds numbered from 11 to NN. The initial amount of the ithith compound is QiQi. You are also given MM equations. Every equation is of the … Read more