#626G

Codeforces 626G Raffles(贪心+线段树)

timelimitpertest:5secondsmemorylimitpertest:256megabytesinput:standardinputoutput:standardoutputJohnnyisatacarnivalwhichhasnraffles.Raffleihasaprizewithvaluepi....