HDU 5630 Rikka with Chess

题目: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);
    }
}


你可能感兴趣的:(HDU 5630 Rikka with Chess)