a + b

Time Limit: 2000/1000MS (Java/Others) Memory Limit: 128000/64000KB (Java/Others)

Problem Description

Input

Output

Sample Input

2
3 1
1 2 3
3 10
1 2 3

Sample Output

6
60074

Source

buaads

Manager

Information
Solved Number274
Submit Number1739
Problem Tags
math
No tag edit access
温馨提示:AC后可以编辑标签哦. ^-^
Login
LoginCancel