OpenJudge 08:Print Characters

Description

Enter an ASCII code and output the corresponding character.

Input

An integer, the ASCII code of the character, which guarantees the existence of the corresponding visible character.

Output

A line containing the corresponding character.

Input sample

65

Output sample

A

Answer

C++
1
2
3
4
5
6
7
8
9
10
#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
int n;
scanf("%d",&n);
printf("%c",char(n));
return 0;
}

Result

Used memory: 200kB
Run time: 0ms
Language:G++
Submit time:2021-04-20 10:23:50

http://noi.openjudge.cn/ch0102/08/

OpenJudge 08:Print Characters

https://blog.tsinbei.com/en/archives/542/

Author
Hsukqi Lee
Posted on

2022-07-03

Edited on

2022-07-28

Licensed under

CC BY-NC-ND 4.0

# Programing  Cpp  OpenJudge  NOI  NOIP

Comments

Name
Mail
Site
None yet