题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2096

 1 #include<iostream>
 2 #include<cstdio>
 3 #include<cmath>
 4 #include<algorithm>
 5 using namespace std;
 6 
 7 int main()
 8 {
 9     int a,b;
10     int sum;
11     int t;
12     scanf("%d",&t);
13     while(t--)
14     {
15         scanf("%d%d",&a,&b);
16         a = a%100;
17         b = b%100;
18         sum = a+b;
19         sum = sum%100;
20         printf("%d\n",sum);
21     }
22     return 0;
23 }

 

相关文章:

  • 2021-05-19
  • 2022-12-23
  • 2021-04-15
  • 2021-05-17
  • 2021-10-07
  • 2021-08-01
  • 2021-08-03
  • 2021-09-01
猜你喜欢
  • 2021-06-08
  • 2021-06-10
  • 2021-09-28
  • 2021-07-24
  • 2022-02-05
相关资源
相似解决方案