CF112A Petya and Strings

题目描述

输入两个字符串,大小写无关紧要,比较它们的大小。

输入格式

两个字符串(保证长度相等)

输出格式

如果第一个字符串小于第二个字符串,则输出“-1”。如果第二个字符串小于第一个字符串,则输出“1”。如果字符串相同,则打印“0”。请注意,比较字符串时不考虑字母的大小写。

说明/提示

If you want more formal information about the lexicographical order (also known as the "dictionary order" or "alphabetical order"), you can visit the following site: - http://en.wikipedia.org/wiki/Lexicographical\_order