View Code of Problem 3793

#include <cstdio>
#include <iostream>
#include <cstring>
#include <string>
#include <fstream>
#include <algorithm>
#include <ctime>
using namespace std;

typedef long long ll;
#define MAXN 200010
#define INF 0x3f3f3f3f
const int mod=1000000009;

int n;

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

Double click to view unformatted code.


Back to problem 3793