ACM-HDU 2096

#include<bits/stdc++.h> //万能头文件
using namespace std;
int main(){
         int a,b,n;
         scanf("%d",&n);
         while(n--){
         scanf("%d%d",&a,&b);
         printf("%d\n",(a%100+b%100)%100); //注意a,b也要取余。
          }
          return 0;
}    

猜你喜欢

转载自blog.csdn.net/a2392008643/article/details/80301182