当前位置:网站首页>[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
边栏推荐
- splunk配置163邮箱告警
- [yolov5.yaml parsing]
- 13. (map data) conversion between Baidu coordinate (bd09), national survey of China coordinate (Mars coordinate, gcj02), and WGS84 coordinate system
- Use and install RkNN toolkit Lite2 on itop-3568 development board NPU
- 【yolov5.yaml解析】
- Troubleshooting of high memory usage of redis in a production environment
- Codeworks 5 questions per day (1700 average) - day 5
- Tabbar configuration at the bottom of wechat applet
- 1.php的laravel创建项目
- 跨平台(32bit和64bit)的 printf 格式符 %lld 输出64位的解决方式
猜你喜欢
codeforces每日5题(均1700)-第五天
嵌入式软件架构设计-消息交互
Yolov5 target detection neural network -- calculation principle of loss function
Check the debug port information in rancher and do idea remote JVM debug
多表操作-子查询
无线WIFI学习型8路发射遥控模块
Codeworks 5 questions per day (1700 average) - day 5
[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)和丢弃法(dropout)
[deploy pytoch project through onnx using tensorrt]
随机推荐
Programmers are involved and maintain industry competitiveness
Matlab imoverlay function (burn binary mask into two-dimensional image)
调查显示传统数据安全工具在60%情况下无法抵御勒索软件攻击
Matlab struct function (structure array)
【使用TensorRT通过ONNX部署Pytorch项目】
Riddle 1
redis的持久化机制原理
Mongodb replica set
Halcon 模板匹配实战代码(一)
[yolov5.yaml parsing]
Ncp1342 chip substitute pn8213 65W gallium nitride charger scheme
[pytorch pre training model modification, addition and deletion of specific layers]
JS for循环 循环次数异常
Open3D 网格(曲面)赋色
2022年国内云管平台厂商哪家好?为什么?
【TFLite, ONNX, CoreML, TensorRT Export】
[configuration method of win11 multi-user simultaneous login remote desktop]
什么是数字化存在?数字化转型要先从数字化存在开始
July Huaqing learning-1
Acid transaction theory