fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. string num;
  6. cin >> num;
  7. for ( int i = 3; i >= 0; i-- ) {
  8. cout << num[i];
  9. }
  10. return 0;
  11. }
Success #stdin #stdout 0s 4276KB
stdin
Standard input is empty
stdout
��