題目鏈接: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]);
}