Total time limit:
- 1000ms
- Memory Limit:
- 65536kB
- description
-
One visible character other than a space (guaranteed use% c format specifier reads in the function scanf), the output of the ASCII string.
- Entry
- A visible character other than spaces.
- Export
- A decimal integer that is the ASCII character code.
- Sample input
-
A
- Sample Output
-
65
1 #include <iostream> 2 using namespace std; 3 4 int main(){ 5 int c; 6 scanf("%c",&c); 7 cout<<c; 8 9 10 return 0; 11 }