往届 ACM 队训练题 (参考)

1042. A-B(Big Integer)

单点时限: 2.0 sec

内存限制: 256 MB

Give two positive integer A and B,calucate A-B.

Notice that A,B is no more than 500 digits.

输入格式

The test case contain several lines.Each line contains two positive integer A and B.

输出格式

For each input line,output a line contain A-B

样例

Input
3 2
100 1
100000000000000001 100000000000000000
Output
1
99
1
不限期开放

题目列表