#include
using namespace std;
int main(void)
{
int a;
while(cin >> a)
cout << (char)a;
return 0;
}
Java
import java.util.Scanner;
public class Main
{
public static void main(String args[])
{
Scanner cin=new Scanner(System.in);
int a;
while(cin.hasNextInt()) {
a = cin.nextInt();
System.out.print((char)a);
}
}
}
沒有留言:
張貼留言