1543: 大数比较的函数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:33 Solved:17

Description

写一个大数比较的函数。
完成下面函数的代码。
int cmp(int x[],int y[]){

}

Input

两个大数x,y,每个不超过200位

Output

如果x>y输出1
如果x<y输出-1
如果x==y输出0

Sample Input Copy

12345
23456

Sample Output Copy

-1

Source/Category