Need Test Case For DISCHAR

Hi,
I successfully completed DISCHAR problem but i got 20 pts only . A found that i solved the problem as mentioned in editorial .So can one please tell me why my solution was giving wrong answer for Sub Task 2.
Thanks & Regards
Prasad

Recheck your for loop used for assigning 0 in array chars[26],

You are assigning 0 only from 0 to 25 and not from 0 to 26

Replace that part of code with this code:

for(i=0;i<26;i++)
    chars[i]=0;
 

Here is accepted version of your code with 100 points:

http://www.codechef.com/viewsolution/5484451

1 Like

i am unable to find this problem in Practice section . So can any one please tell me where can i found this problem to submit.

@prasadram This is the link : http://www.codechef.com/problems/DISCHAR/