Skip to content

Instantly share code, notes, and snippets.

@techlarry
Last active November 11, 2017 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techlarry/a9e49e90a61760fff0ee5d8026761981 to your computer and use it in GitHub Desktop.
Save techlarry/a9e49e90a61760fff0ee5d8026761981 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main()
{
int a;
cin >> a;
cout << (char) a;
}
描述
输入一个ASCII码,输出对应的字符。
输入
一个整数,即字符的ASCII码,保证存在对应的可见字符。
输出
一行,包含相应的字符。
样例输入
```
65
```
样例输出
```
A
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment