#PCBSAU0000039. Mã Unicode của ký tự (Unicode Code Point)
Mã Unicode của ký tự (Unicode Code Point)
Unicode Code Point
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given exactly one Unicode character , print its integer Unicode code point.
Input
One UTF-8 line containing exactly one Unicode character (not necessarily one byte).
Output
One line containing decimal integer ord(c).
Subtask
- Subtask 1 — 100 points: is a printable Unicode scalar value, excluding control characters.
Example
Input
Đ
Output
272
Explanation
Đ has code point U+0110, which is 272 in decimal.