fork(2) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6.  
  7. int tab[1000];
  8. for (int i = 0; i < 3; i++)
  9. {
  10. cin >> tab[i];
  11. }
  12. for (int i = 3-1 ; i >= 0; i--)
  13. {
  14. cout << tab[i] << " ";
  15.  
  16. }
  17. return 0;
  18. }
Success #stdin #stdout 0s 4956KB
stdin
Standard input is empty
stdout
1368064 0 1359872