南邮 OJ 1829 A. Mysterious numbers - 1
来源:互联网 发布:java udp收数据不全 编辑:程序博客网 时间:2024/06/08 09:40
A. Mysterious numbers - 1
时间限制(普通/Java) : 3000 MS/ 9000 MS 运行内存限制 : 65536 KByte
总提交 : 72 测试通过 : 35
总提交 : 72 测试通过 : 35
比赛描述
See in Samples.
输入
The input contains two integers a1,a2 (0≤ai≤10^9), separated by a single space.
输出
Output a single integer.
样例输入
3 14
27 12
100 200
样例输出
44
48
102
提示
"See" in Samples.
题目来源
ACM爱好者协会
#include<iostream>using namespace std;int main(){int a1, a2, a3;while(scanf("%d %d", &a1, &a2) == 2){a3 = 0;while(a2){a3 = a3 * 10 + a2 % 10;a2 /= 10;}printf("%d\n", a1 + a3);}}
0 0
- 南邮 OJ 1829 A. Mysterious numbers - 1
- toj3259[Mysterious Numbers]埃式筛法
- POJ2696 A Mysterious Function
- A. Mysterious strings
- light oj 1220 Mysterious Bacteria
- 九度OJ 1442 A sequence of numbers
- 九度OJ-1442:A sequence of numbers
- 九度OJ 1442 A sequence of numbers
- 九度OJ题目1442:A sequence of numbers
- 题目1442:A sequence of numbers 九度OJ
- 南邮 OJ 1084 A + B Problem (1)
- [整数分解+dfs] light oj 1220 Mysterious Bacteria
- A. Numbers
- A. Numbers
- LeetCode OJ Consecutive Numbers
- 南邮 OJ 1842 A. Broj
- 【九度OJ】题目1442:A sequence of numbers 解题报告
- OJ.A
- iOS UISegmentedControl 学习
- xcode调试技巧
- jQuery 添加元素
- KVC与KCO实例
- text() html() val() attr()
- 南邮 OJ 1829 A. Mysterious numbers - 1
- 查询公司的DUNS 邓白氏编码
- HDU-1285-拓扑排序-确定比赛名次
- 剑指offer_面试题55_字符流中第一个不重复的字符 *
- jQuery效果 淡入淡出
- hibernate ORM 对应关系
- 使用Visual Studio的动态连接库创建通用数据库连接对话框
- 使用VS反汇编调试
- toggle()切换显示隐藏