UVA 11734 - Big Number of Teams will Solve This

UVA Sep 1, 2020

Problem PDF

Solution:

#include
#include
#include 
int main()
{
    int n,i,g,f,j,k;
    char te[30],ju[30],t[30];
    scanf("%d",&n);
    getchar();
        for(i=1;i<=n;i++)
        {
            gets(te);
            gets(ju);
            if(strcmp(te,ju)==0)
            printf("Case %d: Yes\n",i);

            else
            {
                g=strlen(te);
                f=strlen(ju);
                if(g==f)
                printf("Case %d: Wrong Answer\n",i);
                else
                {
                    for(j=0,k=0;j
https://github.com/Shipu/OnlineJudgeProblemSolutionWithCPlusPlus/tree/master/uva/11734/11734.cpp

Tags

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.