76个字符(这是我这个蒟蒻能写出的最短的了,违规紫杉)
#include <iostream> int main(){char a;std::cin>>a;;printf("%d",a);return 0;}