1408182100-hd-ASCII.cpp
来源:互联网 发布:长岛顶级快网络 编辑:程序博客网 时间:2024/05/12 06:11
ASCII
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)
Total Submission(s): 3307 Accepted Submission(s): 1480
Problem Description
Since all we know the ASCII code, your job is simple: input numbers and output corresponding messages.
Input
The first line contains one integer T (1<=T<=1000).
The input will contain T positive integers separated by whitespaces (spaces, newlines, TABs).
The integers will be no less than 32.
The input will contain T positive integers separated by whitespaces (spaces, newlines, TABs).
The integers will be no less than 32.
Output
Output the corresponding message in just one line.
Warning: no extra characters are allowed.
Warning: no extra characters are allowed.
Sample Input
1372 101 108 108 111 4432 119 111 114 108 100 33
Sample Output
Hello, world!
题目大意
输入数字,输出其ascll对应的字符。
错误原因
题目是让求一组数据的结果,而且在输出之后不用加\n。一定要理解清题意。
代码
<span style="font-size:18px;">#include<stdio.h>int s[1100];int main(){ int t; int i; scanf("%d",&t); for(i=0;i<t;i++) scanf("%d",&s[i]); for(i=0;i<t;i++) printf("%c",s[i]); return 0;}</span>
0 0
- 1408182100-hd-ASCII.cpp
- 1407241612-hd-ASCII码排序.cpp
- 1407261645-hd-密码.cpp
- 1407291712-hd-三角形.cpp
- 1408010808-hd-大菲波数.cpp
- 1408011500-hd-N!.cpp
- 1408071108-hd-Milk.cpp
- 1408140917-hd-Bitset.cpp
- 1408201651-hd-GPA.cpp
- 1408201941-hd-Elevator.cpp
- 1408202033-hd-最小公倍数.cpp
- 1408211519-hd-排序.cpp
- hd 2000 ASCII码排序
- 1407230827-hd-数值统计.cpp
- 1407230852-hd-偶数求和.cpp
- 1407231800-hd-反素数.cpp
- 1407231857-hd-Problem A .cpp
- 1407231901-hd-Problem C.cpp
- java——zip解压
- 模拟鼠标、键盘事件
- UVALive 5691 二分图匹配||陈老师的多校联合20140818 J题
- Strust2 属性异常
- 关于继承时子类重写父类方法和覆盖父类变量的若干问题 (待进一步研究)
- 1408182100-hd-ASCII.cpp
- uva 1563 - SETI(高斯消元+逆元)
- Count Color+POJ+线段树区间更新+位运算(lazy标志的运用)
- 好东西 来看看 http://hsndaihu.isitestar.cn/
- 查看Android虚拟机上的文件
- 黑马程序员 【】java学习之路——集合Collecton
- Julia科学记数法格式输出问题
- 数据结构学习13——递归运用
- AFNetworking 返回的错误信息 总结