UVA 11530 - SMS Typing

Problem PDF

Solution:

#include
#include

int main()
{
    char a[107];
    int n,s,j,t,i;
    scanf("%d",&t);
    getchar();
    for(i=1;i<=t;i++)
    {
        gets(a);
        s=0;
        n=strlen(a);
            for(j=0;j
https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/11530/11530.cpp