#P2093. Gcd Product
Gcd Product
题目描述
点击这里查看pdf
Give you , you need to calculate:
Because the output may be too large, let denote , you only need to output
输入格式
The first line has one integer .
The second line has integers .
The third line has integers .
输出格式
Output the answer.
样例
6
1 2 3 4 5 6
6 5 4 3 2 1
88
提示
Form ICPC2020济南站