fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. char c= cin.get();
  7. cout<<"Result: "<<(int)c<<endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 15232KB
stdin
Standard input is empty
stdout
Result: -1