#Lutece2359. a?b problem 2
a?b problem 2
Migrated from Lutece 2359 a?b problem 2
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
forgottencsc
在测他的高精度有符号整数板子。
共组数据,每组数据形如。
其中,除法为向0取整。
请输出对应的运算结果。
Samples
8
-114514 + 1919
1919 - 114514
114514 * -1919
-114514 / 1919
114514191981011451419198101145141919810 + 893364893364893364893364893364893364
114514191981011451419198101145141919810 - 893364893364893364893364893364893364
114514191981011451419198101145141919810 * 893364893364893364893364893364893364
114514191981011451419198101145141919810 / 893364
-112595
-112595
-219752366
-59
115407556874376344784091466038506813174
113620827087646558054304736251777026446
-102302958907883222168882661314089880036718020113095798810138317706889140840
-128183128020618081117213253662719
Constraints
对于25%的数据:
$0 \leq \sum{|a|} + \sum{|b|} \leq 2 \times 10^{10^3}$
对于50%的数据:
$0 \leq \sum{|a|} + \sum{|b|} \leq 2 \times 10^{10^4}$
对于75%的数据:
$0 \leq \sum{|a|} + \sum{|b|} \leq 2 \times 10^{10^5}$
对于100%的数据:
$0 \leq \sum{|a|} + \sum{|b|} \leq 2 \times 10^{10^6}$
Note
数据随机
数据是用Boost.Multiprecision造的
欢迎提供Hack
Resources
forgottencsc