#B2017. Convert a Character to its ASCII Code

    ID: 11099 Type: Default 1000ms 256MiB

Convert a Character to its ASCII Code

Convert a Character to its ASCII Code

Given a single visible character (excluding white-space), output its ASCII code.

In mathematical terms, for a character \(c\), the ASCII code is given by \(ascii\_code(c)\).

inputFormat

A single visible character, excluding any whitespace.

outputFormat

An integer representing the ASCII code of the input character.

sample

A
65