2661GCD

2661   GCD

题目描述

输入格式:

 The first line is an positive integer  T . (1<=T<= 10^3) indicates the number of test cases. In the next T lines, there are three positive integer n, m, p (1<= n,m,p<=10^9) at each line.

输出格式:

输入样例 复制
1 
1 2 3

输出样例 复制
1

说明

1
27
通过提交
时空限制1000ms/1280mb
题目来源数据结构实验与竞赛训练
评测方式在线评测
题目类型
难        度