BOANY
Home
ProblemSet
Source/Category
Contest
Status
Ranklist
F.A.Qs
历年真题
推荐题单
Login
Register
1543: 大数比较的函数
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:33
Solved:17
Submit
Submit Record
Statistics
ShowOff!
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
高精度
函数
Submit
Submit Record
Statistics
ShowOff!