Isolation Centers
Problem Link: Codechef As a health expert, Vinay is keeping a close watch on the ongoing pandemic of coronavirus disease (COVID-19). He thought of a different situation where there are 26 26 types of viruses, named " a orona", " b orona", " c orona", …, " z orona". You are given a string S S with length N N . There are N N people (numbered 1 1 through N N ) and for each valid i i , the i i -th person is infected by exactly one type of virus named S i Si orona (i.e. "corona" with the first letter replaced by the i i -th character of S S ). You should answer Q Q queries. In each query: · You are given an integer, C C denoting the number of available isolation centers . · Each isolation center has an infinite capacity, but with the restriction that two people infected with the same ty...