题号:NC14321
时间限制:C/C++/Rust/Pascal 1秒,其他语言2秒
空间限制:C/C++/Rust/Pascal 32 M,其他语言64 M
64bit IO Format: %lld
题目描述
Judge whether the sum of A and B will exceed the range of 32-bit signed integer.
输入描述:
There are multiple test cases. The first line of each test case is a positive integer T, indicating the number of test cases.
For each test case, there is only one line including two 32-bit signed integers A and B.
输出描述:
For each test case, output one line. If the sum of A and B will exceed the range of integer, print "Yes", else print "No".
示例1
输入
复制
3
1 2
-2147483648 2147483647
2147483647 2147483647