ZOJ 2001水题
来源:互联网 发布:淘宝卖家可以改名字吗 编辑:程序博客网 时间:2024/06/05 11:53
#include<stdio.h>
int foot_tohead(int a){
int r=0;
while(a>0)
{
r=r*10+a%10;
a/=10;
}
return r;
}
int main()
{
int n,a,b;
scanf("%d",&n);
while(n-->0)
{
scanf("%d%d",&a,&b);
a=foot_tohead(a);
b=foot_tohead(b);
printf("%d\n",foot_tohead(a+b));
}
return 0;
}
0 0
- ZOJ 2001水题
- zoj 2001
- ZOJ-2001
- zoj 2001 倒置输出
- zoj 2812 水题
- zoj 2514水题
- zoj 2358 水题.
- zoj 1457 dfs水题
- zoj 2679 水题
- zoj 1973 水题。。。
- zoj 3504 水题
- zoj 2443 水题。。。
- zoj 2883 Shopaholic水题
- zoj 2947 Abbreviation 水题
- zoj 2812 Quicksum 水题
- zoj 2433 Highways水题
- zoj 1057 Undercut 水题
- ZOJ 2433 Highways(水题)
- 基于boa服务器的web控制mini2440的GPIO口
- pandoc 用markdown写毕业论文 markdown转pdf,docx
- 测试4——shrink和move产生的redo log量的比较
- python学习(windows编程工具安装)
- apache并发数调整
- ZOJ 2001水题
- Ubuntu下手动安装openssh
- 黑马程序员——Java学习笔记之13——“反射”总结
- poj3213
- 无向图的深度优先遍历
- 浅淡C/C++中的typedef和#define
- (摘抄笔记)人脸识别经典算法二:LBP方法
- Leetcode: Maximum Depth of Binary Tree 理解分析
- Oracle几种表的简介