🟢 Վարժություն 1

Տպել ներմուծված char տիպի սիմվոլի համապատասխան ASCII կոդը։
// input: 'a' -> output: 97
// input: 'A' -> output: 65


#include <iostream>
int main() {
  char input;
  std::cin >> input;
  //put your code to print ASCII code
}
 

Constraints

Time limit: 0.2 seconds

Memory limit: 512 MB

Output limit: 1 MB

To check your solution you need to sign in
Sign in to continue