6 条题解

  • 5
    @ 2023-12-1 17:35:03
    #include<iostream>
    using namespace std;
    int main(){
    	char ch;
    	cin>>ch;
    	int a=(int)ch;
    	cout<<a;
    }
    
    • 0
      @ 2024-3-30 22:21:22

      #include <stdio.h> int main() { char b=getchar(); printf("%d\n",b,b); return 0; }

      • 0
        @ 2024-3-19 21:56:37
        #include<iostream>
        using namespace std;
        int main(){
        	char ch;
        	cin>>ch;
        	int a=(int)ch;
        	cout<<a;
        }
        
        • 0
          @ 2024-3-10 9:17:09
          #include<iostream>
          using namespace std;
          int main(){
          	char ch;
          	cin>>ch;
          	int a=(int)ch;
          	cout<<a;
          }
          
          • 0
            @ 2024-3-3 9:37:33

            #include using namespace std; int main(){ char ch; cin>>ch; int a=(int)ch; cout<<a; }

            • 0
              @ 2024-2-21 9:34:47
              #include<iostream>
              using namespace std;
              int main(){
              	char ch;
              	cin>>ch;
              	int a=(int)ch;
              	cout<<a;
              }
              
              • 1

              信息

              ID
              67
              时间
              1000ms
              内存
              128MiB
              难度
              2
              标签
              (无)
              递交数
              542
              已通过
              348
              上传者