当前位置:网站首页>[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
边栏推荐
- 一类恒等式的应用(范德蒙德卷积与超几何函数)
- yolov5目標檢測神經網絡——損失函數計算原理
- Four operations and derivative operations of MATLAB polynomials
- Why do you always fail in automated tests?
- [upsampling method opencv interpolation]
- Video networkstate property
- Semantic segmentation experiment: UNET network /msrc2 dataset
- Seven ways to achieve vertical centering
- II. Data type
- Codeforces Round #804 (Div. 2)
猜你喜欢
How to clear floating?
Matlab imoverlay function (burn binary mask into two-dimensional image)
Error modulenotfounderror: no module named 'cv2 aruco‘
Automated test lifecycle
Liunx prohibit Ping explain the different usage of traceroute
Four operations and derivative operations of MATLAB polynomials
mysql拆分字符串做条件查询
多表操作-自关联查询
MySQL index - extended data
Pytorch MLP
随机推荐
Which domestic cloud management platform manufacturer is good in 2022? Why?
MySQL storage engine
Mongodb replica set
byte2String、string2Byte
Understanding the architecture type of mobile CPU
Error modulenotfounderror: no module named 'cv2 aruco‘
信息服务器怎么恢复,服务器数据恢复怎么弄[通俗易懂]
Thoughts and suggestions on the construction of intelligent management and control system platform for safe production in petrochemical enterprises
MySQL transaction
【TFLite, ONNX, CoreML, TensorRT Export】
Use and install RkNN toolkit Lite2 on itop-3568 development board NPU
【ijkplayer】when i compile file “compile-ffmpeg.sh“ ,it show error “No such file or directory“.
Riddle 1
16 channel water lamp experiment based on Proteus (assembly language)
II. Data type
嵌入式软件架构设计-消息交互
报错ModuleNotFoundError: No module named ‘cv2.aruco‘
互联网公司实习岗位选择与简易版职业发展规划
Intern position selection and simplified career development planning in Internet companies
【load dataset】