Codeforces solution 112A Petya and Strings

#include<stdio.h>
int main()
{
    int n;
    char a[200],b[200];
    gets(a);
    gets(b);
    n=strcmpi(a,b);
    printf("%d\n",n);

    return 0;
}

Comments

Popular posts from this blog

Uri Solution 2747 Output 1

Codeforces Solution 230B T-primes