the input consists of n cases, and the first line consists of one positive integer giving n. the next n line each contains 3 integers r,e and c. the first r. is the expected revenue if u do not advertise, the second e, is the expected revenue if u do advertise , and the third e, is the cost of advertising. u can assume the input will follow these restrictions 1 smaller&equal to n smaller &equal to 100, -10 to power 6 smaller & equal to r,e smaller & equal to 10 to power 6 and 0<&= to e <&= 10 to power 6
Aucun commentaire:
Enregistrer un commentaire