当前位置:网站首页>[hdu 2096] Xiaoming a+b
[hdu 2096] Xiaoming a+b
2022-07-05 12:14:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
[HDU 2096] Xiao Ming A+B
Topic link :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 }
posted @ 2019-01-02 15:29
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/149178.html Link to the original text :https://javaforall.cn
边栏推荐
- [yolov3 loss function]
- [yolov5.yaml parsing]
- Acid transaction theory
- Matlab boundarymask function (find the boundary of the divided area)
- yolov5目標檢測神經網絡——損失函數計算原理
- One article tells the latest and complete learning materials of flutter
- Codeforces Round #804 (Div. 2)
- [cloud native | kubernetes] actual battle of ingress case (13)
- 【TFLite, ONNX, CoreML, TensorRT Export】
- PXE启动配置及原理
猜你喜欢
[untitled]
【yolov3损失函数】
7月华清学习-1
Four operations and derivative operations of MATLAB polynomials
Hiengine: comparable to the local cloud native memory database engine
Network five whip
[pytorch pre training model modification, addition and deletion of specific layers]
【L1、L2、smooth L1三类损失函数】
[pytorch modifies the pre training model: there is little difference between the measured loading pre training model and the random initialization of the model]
Pytorch weight decay and dropout
随机推荐
The evolution of mobile cross platform technology
Halcon template matching actual code (I)
Basic operations of MySQL data table, addition, deletion and modification & DML
Seven ways to achieve vertical centering
Xi IO flow
【SingleShotMultiBoxDetector(SSD,单步多框目标检测)】
Use and install RkNN toolkit Lite2 on itop-3568 development board NPU
Network five whip
【 YOLOv3中Loss部分计算】
MySQL basic operation -dql
1 plug-in to handle advertisements in web pages
Mongodb replica set
Design of music box based on assembly language
SENT协议译码的深入探讨
Principle of redis cluster mode
MySQL regular expression
MySQL storage engine
A guide to threaded and asynchronous UI development in the "quick start fluent Development Series tutorials"
多表操作-自关联查询
Course design of compilation principle --- formula calculator (a simple calculator with interface developed based on QT)