2 solutions

  • 0
    @ 2026-3-29 10:47:09

    #include <bits/stdc++.h> using namespace std;

    int main() { int a; char b; cin >> b; a = b; cout << a; return 0; }

    • -1
      @ 2026-1-7 13:35:23

      #include <bits/stdc++.h> using namespace std;

      int main() { char a; cin>>a; cout<<int(a); return 0; }

      • 1

      Information

      ID
      504
      Time
      1000ms
      Memory
      128MiB
      Difficulty
      1
      Tags
      # Submissions
      137
      Accepted
      98
      Uploaded By