https://www.acmicpc.net/problem/11654
#include <iostream>
using namespace std;
int main() {
char s;
cin >> s;
int ascii = s;
cout << ascii << '\n';
}
'Programming > Algorithm' 카테고리의 다른 글
[C++] 백준 2675번 : 문자열 반복 (0) | 2019.02.04 |
---|---|
[C++] 백준 10809번 : 알파벳 찾기 (0) | 2019.02.04 |
[C++]백준 2920번 : 음계 (0) | 2019.02.04 |
[C++]백준 8958번 : OX퀴즈 (0) | 2019.02.04 |
[C++]백준 2588번 : 곱셈 (0) | 2019.02.03 |