现在的位置: 首页 > 综合 > 正文

小明A+B

2012年11月19日 ⁄ 综合 ⁄ 共 128字 ⁄ 字号 评论关闭
#include <stdio.h>

int main( )
{
    int n;
    int a, b;

    scanf("%d", &n);
    while (n--)
    {
        scanf("%d%d", &a, &b);
        printf("%d\n", (a % 100 + b % 100) % 100);
    }

    return 0;
}

抱歉!评论已关闭.