**Results :**

Congratulations Participants! You have successfully helped the Avengers to defeat the evil. Kudos to our top 5 programmers of AUG18 :

1. sanoop menon

2. Aditya

3. Swapnil Satish Shinde

4. Shridhar Ravi

5. Sanket Bailmare

**Editorial :**

1: Avengers Unite

Run a loop of T test cases. Take 5 string inputs in each. For each string output the corresponding answer on a new line.

2: Cibin needs to bunk

Check constraints and output 0 in case of N=0. (corner case)

Find the number of remaining lectures (n-p-a)

Find the minimum lectures Cibin needs to attend (75%) . If the number of lectures are in fraction, round off (ceil) to get the greater integer (as he has to cross 75% if he can't attend exactly 75%) .

If the current attendance is more than required, print 0.

Else if (required attendance - current attendance) is greater than remaining lectures, print -1.

Else print (required attendance - current attendance).

3: Doctor Strange to the rescue

Take the string input.

Iterate the string character by character and print them, If you hit characters r,a,h,u or l, simply don't print it.

**Coded Solutions:** Click Here

(Make sure you use your Siesgst email address)

Thank you all for participating! Stay tuned for more contests.

Upvote **2** Downvote

## There are no comments!

Create an account or login to write a comment