1 solutions

  • 0
    @ 2025-11-5 15:09:20

    C++ :

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

    Pascal :

    var 
      a:char;
    begin
      readln(a);
      write(ord(a));
    end.
    
    • 1

    Information

    ID
    16452
    Time
    1000ms
    Memory
    128MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By