Problem hidden
|This problem was hidden by Editorial Board member probably because it has incorrect language|version or invalid test data, or description of the problem is not clear.|

RGB7064 - Тэмдэгтэд харгалзах код

Өгөгдсөн тэмдэгтэд харгалзах ASCII кодыг хэвлэ.

Input

Тэмдэгт өгөгдөнө. Тусгайгаас хэрэгцээнийхээс бусад.

Output

Харгалзах ASCII код.

Example

Input:
A

Output:
65

Нэмсэн:Bataa
Огноо:2013-02-05
Хугацааны хязгаарлалт:1s
Эх кодын хэмжээний хязгаарлалт:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Програмчлалын хэлүүд:ADA95 ASM32 BASH BF C NCSHARP CSHARP C++ 4.3.2 CPP C99 CLPS LISP sbcl LISP clisp D ERL FORTRAN HASK ICON ICK JAVA JS-RHINO JULIA LUA NEM NICE OCAML PAS-GPC PAS-FPC PERL PHP PIKE PRLG-swi PYTHON PYPY3 PYTHON3 RUBY SCALA SCM guile ST TCL WHITESPACE

hide comments
2024-09-05 12:39:36
#include <iostream>
using namespace std;
int main() {
char ch;
cin >> ch;
cout << int(ch);
return 0;
}
2022-03-26 18:19:39
#include <iostream>
#include <iomanip>
using namespace std;

int main() {
char a;
cin >> a;

if(a) {
cout << (int) a;
}
return 0;
} // Remzx Official
2021-03-01 12:41:48
#include <stdio.h>
int main()
{
char ch;
scanf("%c",&ch);
printf("%d", ch);
return 0;
}
2020-11-08 04:04:19
int n=52;
char a[n]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWYZ";
char k;
scanf("%c", &k);
int l;
for(int i=0;i<n;i++){
if(k==a[i]){
l=i+26;
break;
}
}
printf("%c",a[l]);
return 0;
}
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.