当前位置:网站首页>[HDU 2096] 小明A+B
[HDU 2096] 小明A+B
2022-07-05 12:11:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
[HDU 2096] 小明A+B
题目链接: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
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/149178.html原文链接:https://javaforall.cn
边栏推荐
- Sentinel sentinel mechanism of master automatic election in redis master-slave
- Acid transaction theory
- Course design of compilation principle --- formula calculator (a simple calculator with interface developed based on QT)
- iTOP-3568开发板NPU使用安装RKNN Toolkit Lite2
- 13. (map data) conversion between Baidu coordinate (bd09), national survey of China coordinate (Mars coordinate, gcj02), and WGS84 coordinate system
- [mainstream nivida graphics card deep learning / reinforcement learning /ai computing power summary]
- 想问问,如何选择券商?在线开户是很安全么?
- yolov5目標檢測神經網絡——損失函數計算原理
- Embedded software architecture design - message interaction
- 自动化测试生命周期
猜你喜欢
【TFLite, ONNX, CoreML, TensorRT Export】
Automated test lifecycle
互联网公司实习岗位选择与简易版职业发展规划
[untitled]
Network five whip
Select drop-down box realizes three-level linkage of provinces and cities in China
[yolov5.yaml parsing]
codeforces每日5题(均1700)-第五天
redis 集群模式原理
Yolov5 target detection neural network -- calculation principle of loss function
随机推荐
什么是数字化存在?数字化转型要先从数字化存在开始
【TFLite, ONNX, CoreML, TensorRT Export】
11. (map data section) how to download and use OSM data
Open3D 网格(曲面)赋色
谜语1
pytorch-softmax回归
Splunk configuration 163 mailbox alarm
How to make your products as expensive as possible
What is the difference between canvas and SVG?
你做自动化测试为什么总是失败?
Open3d mesh (surface) coloring
What is digital existence? Digital transformation starts with digital existence
redis主从模式
[yolov5.yaml parsing]
Matlab boundarymask function (find the boundary of the divided area)
1.php的laravel创建项目
Tabbar configuration at the bottom of wechat applet
Redis master-slave mode
Open3d European clustering
Acid transaction theory