3 solutions

  • 1
    @ 2024-7-20 18:26:08
    #include<bits/stdc++.h>
    
    using namespace std;
    
    int main(){
    	char a;
    	cin >> a;
    	cout << (int)a;
    	return 0;
    	
    }
    
    • 0
      @ 2024-7-15 19:53:03
      #include <bits/stdc++.h>
      using namespace std;
      int main(){
      	char a;
      	cin>>a;
      	int b=a;
      	cout<<b;
      	return 0;
      }
      
      • -1
        @ 2023-11-2 8:21:07

        实在不会特判👎

        • 1

        Information

        ID
        6861
        Time
        1000ms
        Memory
        128MiB
        Difficulty
        1
        Tags
        # Submissions
        16
        Accepted
        10
        Uploaded By