Facebook
From Eratic Goat, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 207
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6. int main(){
  7. int a,b,c;
  8. cin>>a>>b>>c;
  9. if (a<= -1000 || b <= -1000 || c <= -1000 || a >= 1000 || b >= 1000 || c >= 1000 ){
  10.     return 0;
  11. }
  12. cout<<a<<" "<<b<<" "<<c<<endl;
  13.     cout<<c<<" "<<b<<" "<<a;
  14. }
  15.