输出字母的ASCII编号:题解

C2023040 2024-01-30 12:06:03

#include<bits/stdc++.h> using namespace std; int main() { char n; cin>>n; cout<<(int)n; }