Chef and Spells CodeChef Solution in C++ byTechnical Collegian •November 05, 2022 Problem Chef has three spells. Their powers are A A , B B , and C C respectively. Initially, Chef has 0 0 hit points, and if he uses a spell with power P P , then his number of hit points increases by P P . Before goin…