题目:http://acm.hdu.edu.cn/showproblem.php?pid=5630
代码:
#include<stdio.h>
#include<string.h>
using namespace std;
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int a,b;
scanf("%d%d",&a,&b);
printf("%d\n",a/2+b/2);
}
}