Codeforces-SolutionsA/112A Petya And Strings/112A.cpp

12 lines
248 B
C++
Raw Normal View History

2023-06-07 22:14:23 +08:00
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s1,s2;
cin>>s1>>s2;
transform(s1.begin(),s1.end(),s1.begin(),::tolower);
transform(s2.begin(),s2.end(),s2.begin(),::tolower);
int c=s1.compare(s2);
cout<<c;
}