#P2142. 高精度减法

    ID: 2911 远端评测题 1000ms 125MiB 尝试: 5 已通过: 1 显示难度普及− 上传者: 标签>模拟字符串高精度洛谷原创

高精度减法

Problem Description

High-precision subtraction.

Input Format

Two integers a,ba,b (the second one may be larger than the first one).

Output Format

The result (output a minus sign if it is negative).

2
1
1

Hint

  • 20%20\% of the testdata: a,ba,b are within the range of long long.
  • 100%100\% of the testdata: 0<a,b10100860<a,b\le 10^{10086}.

Translated by ChatGPT 5