HDU 3361 ASCII

来源:互联网 发布:php网页自动生成html 编辑:程序博客网 时间:2024/06/06 03:51

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3361

水到不能再水了大笑

代码如下:

#include<bits/stdc++.h>using namespace std;int main(){    int n;    char c[1001];    int x[1001];    cin>>n;    for(int i=0;i<n;i++)    {        scanf("%d",&x[i]);        c[i]=x[i];    }    for(int i=0;i<n;i++)        printf("%c",c[i]);}

0 0