题解 | #字符转ASCII码#
字符转ASCII码
https://www.nowcoder.com/practice/93f4d05a02d9468db424ed4316bfc8fd
#include<bits/stdc++.h> using namespace std; int main() { char a; cin>>a; cout<<(int)a; return 0; }
字符转ASCII码
https://www.nowcoder.com/practice/93f4d05a02d9468db424ed4316bfc8fd
#include<bits/stdc++.h> using namespace std; int main() { char a; cin>>a; cout<<(int)a; return 0; }
相关推荐